What is elif statement and how is it different from if else
Answers
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.
Explanation:
Hope it's helpful
Similar questions