Conditional Flow · Part 3
Ternary expressions and a first look at match/case.
Lesson 21 · Conditional Flow · Part 3 — Level I · Guide
October 15, 2026 · Bridge Academy Python Program
Learning goals
- Write a conditional expression with ternary syntax. - Use ternary in assignments and print calls. - Read a simple match / case statement. - Combine ternary with f-strings.
This lesson covers PCEP-30-02 objective 2.1.
Preview truncated — download the notebook to see the full lesson.