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.