Computer Science, asked by muraleedharkulkarni1, 3 months ago

difference between if and if else in python​

Answers

Answered by vidyanchodankar
2

Answer:

The first form if-if-if tests all conditions, whereas the second if-elif-else tests only as many as needed: if it finds one condition that is True , it stops and doesn't evaluate the rest. In other words: if-elif-else is used when the conditions are mutually exclusive.

Explanation:

mark me brainlest

Similar questions
Math, 10 months ago