Tag Archives: #mastery18
Nesting of conditional statements
If you want to check a condition after a previous condition that was true, then you might want to use nested statements.
NESTED IF CONSTRUCT
In a nested if construct, you can have an if…elif…else construct inside another if…elif…else construct. The syntax of the nested if…elif…else construct may be: