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. Sign in only when you want to save progress, continuation, completion, and badges.

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