Series overview
Python Bakery
This lesson covers common while loop patterns: counting with a non-sequential step, walking through a list by index, the do-until loop, repeatedly prompting for and validating user input, rerolling random values, and a main game or server loop. Students learn to trace a while loop’s user-driven or stochastic behavior and pick the right pattern for a given problem.
| Status | Status | Type | Title |
|---|---|---|---|
| While Loop Patterns | |||
| While Loop Patterns: quiz | |||
| While Input | |||
| Doubling Down | |||
| Rainfall Accumulates |