đēī¸ Map âē
⚔️ Apprentice âē
🔁 Loops & Lists
Lesson 2 â while: Loop Until It's Done
âą 25–30 minutes 💻 Write real Python in the browser (runs instantly, nothing to install)
đĄ while keeps looping as long as the condition is true — for when you don't know the round count in advance
đ¨âđŠâđ§ 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: while keeps looping as long as the condition is true â for when you don't know the round count in advance
Learning Objective
Kids choose when to use for (known count) vs. while (loop until a condition changes) and write a while that actually ends â understanding the danger of infinite loops.
Do It Together (Parent-Child Co-participation)
Find real-life whiles: "people keep queueing AS LONG AS the line isn't empty" â then dare to delete the banana-collecting line and run it (psst: the Reset button saves you if it hangs) to witness an infinite loop firsthand.