Data Iteration · Part 5
while loops; countdowns, sentinels, break and continue, pass placeholder.
Lesson 17 · Data Iteration · Part 5 — Level I · Guide
September 17, 2026 · Bridge Academy Python Program
Learning goals
- Write a
whileloop that stops when a condition becomes False. - Countdown from a starting number with
while. - Use
breakto stop a loop early andcontinueto skip the rest of an iteration. - Use
passas a placeholder inside a loop.
This lesson covers PCEP-30-02 objective 2.2.
Preview truncated — download the notebook to see the full lesson.