HanuLab HanuLab
🗺️ Map › ⚔️ Apprentice › 🔀 Logic & Conditions

Lesson 1 — if/else in Python: The Program's First Fork

⏱ 25–30 minutes 💻 Write real Python in the browser (runs instantly, nothing to install) 💡 if/else = a fork the program chooses by condition — from primary-school if/then/else blocks to real Python
💡 Play away! To save stars, ask a parent to log in
👨‍👩‍👧 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/else = a fork the program chooses by condition — from primary-school if/then/else blocks to real Python

Learning Objective

Kids write if/else in Python with correct structure (colon + 4-space indent) and understand that one decision runs exactly ONE branch.

Do It Together (Parent-Child Co-participation)

Change the stdin number to today's actual temperature and see if the program answers right — chat about how weather apps run thousands of conditions just like this.