Lesson 49 of 79 · 15 minutes
Looping over lists: Delivery Bike
Ride down a street of houses, and deliver to each one. A loop visits every item in a list.
This game is part of the full course.You own the full course.
Unlock all 79 Python coding games for $9, once.Opening the game…
Unlock for $9Play now
What you'll learn
- Visiting every item
- Items and their numbers
- Only some items
- Building a new list
- Don't change a list while looping over it
Each idea opens with a short narrated video, about 2 minutes in all. Then you put it to work in the game.
The six levels
- Every House Change it
- Numbered Stops Copy and type
- Even Side Only Fill the gap
- Finished Stops Write it
- Skipped Houses Fix it
- Any Route Boss level
The levels go from changing one word, to writing the code on your own. The boss level changes every time you play.
New to Python? Start with the free games in Module 1.