HanuLab HanuLab
🗺️ Map › 💪 Brave Monkey › 🪄 Functions

Lesson 2 — Write Once, Use Ten Times

⏱ 20 minutes 💻 Web game (play right away, no prep needed) 💡 Functions — functions shrink programs massively, and one fix updates every use 🎂 Grades 4–6 (ages 9–12)
Write Once, Use Ten Times
💡 Play away! To save stars, ask a parent to log in
👨‍👩‍👧 Notes for parents

Age: Grades 4–6 (ages 9–12) Duration: 20 minutes Format: Web game (play right away, no prep needed) Concept: Functions — functions shrink programs massively, and one fix updates every use

Learning Objective

Kids see the power of functions: hugely shorter programs, and editing one definition updates every place it's called.

Do It Together (Parent-Child Co-participation)

Find a chore your child repeats daily and discuss: if it were code, which parts should be functions?