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 while loop that stops when a condition becomes False. - Countdown from a starting number with while. - Use break to stop a loop early and continue to skip the rest of an iteration. - Use pass as a placeholder inside a loop.
This lesson covers PCEP-30-02 objective 2.2.
Preview truncated — download the notebook to see the full lesson.