THE IDEA
Understand the concept
Python uses if, elif, and else to select a path based on a condition. Consistent indentation is part of the language syntax, so statements indented under a branch belong to that branch.
WORKED EXAMPLE

LESSON 03 ยท PYTHON
Indentation marks the blocks that run for each branch of a decision.
THE IDEA
Python uses if, elif, and else to select a path based on a condition. Consistent indentation is part of the language syntax, so statements indented under a branch belong to that branch.
WORKED EXAMPLE