When we need to check for multiple conditions to be true then we use elif Statement.
This statement is like executing a if statement inside a else statement.
- If statement:
- elif statement:
- if a>=20:
- print “Condition is True”
- if a>=15:
- print “Checking second value”
- print “All Conditions are false”
All Conditions are false.