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

Lesson 3 — Listen to the Player: Getting Values with input

⏱ 25–30 minutes 💻 Write real Python in the browser (runs instantly, nothing to install) 💡 input() = let the program "ask" the user and keep the answer in a variable
💡 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: input() = let the program "ask" the user and keep the answer in a variable

Learning Objective

Kids use input() to receive text from the user, store it in a variable, and display it — understanding that programs can interact with people.

Do It Together (Parent-Child Co-participation)

Take turns as the "player," entering different names (long ones, ones with spaces) and watch the program handle them all — then chat about how everyday apps (games, chat) all start with input() like this.