HanuLab HanuLab
🗺️ Map › ⚔️ Apprentice › 🐍 Python Intro

Lesson 2 — The Warrior's Storage Box: Variables and Data Types

⏱ 25–30 minutes 💻 Write real Python in the browser (runs instantly, nothing to install) 💡 A variable = a named box that stores a value; core data types = text (str) and numbers (int)
💡 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: A variable = a named box that stores a value; core data types = text (str) and numbers (int)

Learning Objective

Kids create variables holding text and numbers, display them together with an f-string, and can tell how text differs from numbers.

Do It Together (Parent-Child Co-participation)

Change power to another number and watch the output follow — then discuss why power = 100 (a number) differs from power = "100" (text), and when to use each.