πΊοΈ Map βΊ
⚔️ Apprentice βΊ
🔀 Logic & Conditions
Lesson 4 β Nested Conditions: A Fork Inside a Fork
β± 25–30 minutes 💻 Write real Python in the browser (runs instantly, nothing to install)
π‘ if inside if — layered decisions like a series of checkpoints, indenting 4 more spaces per layer
π¨βπ©βπ§ Notes for parents
Level: Apprentice β roughly Grade 7 / ages 12β13 Duration: 25β30 minutes Format: Write real Python in the browser (runs instantly, nothing to install) Concept: if inside if β layered decisions like a series of checkpoints, indenting 4 more spaces per layer
Learning Objective
Kids write 2-level nested conditions with correct indentation, and can judge when to nest vs. when a single and is shorter.
Do It Together (Parent-Child Co-participation)
Draw the "checkpoints" of a real house rule, e.g. game time requires (1) homework done (2) before 8pm β then ask which cases need nested ifs and which just need and.