for loops, while loops — countdowns, grinding XP, inventories, and health regen
Interactive step-through animation — see how for and while loops execute
for loops, while loops, range(), break, continue, and the accumulator pattern.
Build a rocket launch countdown with range() going backwards.
Use a while loop to grind XP until you level up.
Loop through a list and print each item with its number.
Heal your character with a while loop until full HP.
Off-by-one errors, infinite loops, accumulator pattern, and debugging.