HanuLab HanuLab
πŸ—ΊοΈ Map β€Ί ⚔️ Apprentice β€Ί 🐍 Python Intro

Lesson 5 β€” Final Mission: Convert a Blockly Project to Python

⏱ 30–35 minutes 💻 Write real Python in the browser (runs instantly, nothing to install) πŸ’‘ print + variables + for loops — the Blockly "repeat" block vs. Python's for loop
πŸ’‘ Play away! To save stars, ask a parent to log in
πŸ‘¨β€πŸ‘©β€πŸ‘§ Notes for parents

Level: Apprentice β€” roughly Grade 7 / ages 12–13 Duration: 30–35 minutes Format: Write real Python in the browser (runs instantly, nothing to install) Concept: print + variables + for loops β€” the Blockly "repeat" block vs. Python's for loop

Learning Objective

Kids convert their old Blockly program (collecting bananas with a repeat block) into Python using a for loop, seeing that text code does exactly what dragged blocks did.

Do It Together (Parent-Child Co-participation)

Open an old Blockly project and convert it block by block into Python together β€” discuss how Python's indentation replaces the blocks' brackets, making code as readable as paragraphs in an essay.