Lesson 17: if / elif / else — Three Paths or More
elif (short for else if) lets us chain extra conditions between if and else. Python checks them in order.
The first condition that holds — wins. The rest are skipped.
- elif
- An extra condition after if. Runs only when previous ones failed.