Computer Science, asked by arpittiwaribbms, 2 months ago

deference between if and if else statement​

Answers

Answered by lavairis504qjio
0

Explanation:

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.

Similar questions