Conditions, Loops, and Problem Decomposition
Turn requirements into branches, loops, and checked edge cases.
Executable courseUse the text pages for explanation and the browser notebook for practice. Work stays in this browser unless you download it.
Module sequence
- From a Requirement to Executable StepsUnit 1 · 20-30 minutes
- Boolean Logic for Clear RulesUnit 2 · 22-30 minutes
- Decisions with if, elif, and elseUnit 3 · 22-30 minutes
- for Loops and range()Unit 4 · 25-35 minutes
- while Loops and Stopping ConditionsUnit 5 · 20-30 minutes
- break, continue, and Loop elseUnit 6 · 22-30 minutes
- Counters, Accumulators, Results, and FlagsUnit 7 · 25-35 minutes
- From Loops to Readable ComprehensionsUnit 8 · 20-30 minutes
- Edge Cases and Empty InputsUnit 9 · 22-30 minutes
- Applied Checkpoint: Validate Study RecordsUnit 10 · 45-60 minutes
