Master loops and develop strong debugging skills. Build programs that handle repetitive tasks efficiently.
You can preview the lesson titles below, but you'll need to enroll to access the full content.
Kick off Term 2 by mastering the for loop and range() — count up, count down, jump in steps, print times tables and countdowns, and loop over lists
Go deeper with while loops — loop UNTIL something happens, build the 'Keep Guessing' and 'Play Again' patterns every game needs, and meet the game loop skeleton of your Term 2 arcade
Get full access to all 8 lessons in Year 2 Term 2: Loops & Logic Mastery.
Book a Class →Take command of your loops — jump out early with break, skip a turn with continue, use sentinel values and while True to loop until the user quits, and never fear an infinite loop again
Put a loop inside a loop to build grids, star pyramids, times-table tables and colourful kente strips — the same trick that powers game boards
Bring your games to life with the random module — roll dice, flip coins, pick surprises — then master the score and lives accumulators that power every arcade game
Build TWO complete little games live — Dice Duel and Guess-the-Number Deluxe — using only loops, random, and logic. The building blocks of next week's Arcade Collection!
Combine three games — Dice Duel, Guess the Number, and brand-new Rock, Paper, Scissors — behind one menu-driven loop into a single Arcade program with a shared score, ready to show off next week
Term 2 finale — polish and demo your Arcade Game Collection, give peer feedback, ace a fun loops-and-logic quiz, earn the Python Pro Badge, and celebrate