what is the difference between else and elif construct of if statement. Write the syntax
Answers
Answered by
0
Answer:
Oak, pine and deodar5fuydrttrreeeereeerry
Answered by
2
Answer:
The elif is short for else if. It allows us to check for multiple expressions. If the condition for if is False , it checks the condition of the next elif block and so on. If all the conditions are False , the body of else is executed.
Similar questions
English,
2 months ago
Math,
2 months ago
Science,
4 months ago
Science,
4 months ago
Computer Science,
10 months ago