The if…elif…else statement is used in Python for decision making.
When you want to justify one condition while the other condition is false, then you use "if statement".
The "else condition" is usually used when one condition goes wrong or fails to meet the requirement...
See more
Download the Study24x7 App, so you can connect and collaborate.