Skip to course content
Free course

Python Foundations / Module 4

Module 4

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

  1. Boolean Logic for Clear RulesUnit 2 · 22-30 minutes
  2. Decisions with if, elif, and elseUnit 3 · 22-30 minutes
  3. for Loops and range()Unit 4 · 25-35 minutes
  4. break, continue, and Loop elseUnit 6 · 22-30 minutes
  5. Edge Cases and Empty InputsUnit 9 · 22-30 minutes