Unit 06 — Iteration & Accumulation
Prerequisite: Unit 05 — conditional execution
Learning goal: Use repetition with for/range and while; update running totals and counters.
| # | Lesson | Focus | Points |
|---|---|---|---|
| 1 | Repeat an instruction | For loops and ranges | 5 |
| 2 | Add values as you go | Accumulator variable | 10 |
| 3 | Count matches in a range | Counters, modulo, and conditional loops | 10 |
| 4 | Build: Launch Countdown | Loops, conditions, strings and return values | 15 |
Open the interactive lesson lab.
The browser’s public-example checks support practice. The GitHub grader checks submitted main.py files separately when a student opens a pull request.