Lesson 48 of 79 · 15 minutes
Changing lists: Backpack
Pack, swap and drop gear before each trip. Lists can grow and shrink as you go.
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
- Adding to a list
- Removing an item
- Adding at a chosen place
- Taking the last one out
- A method that gives back nothing
Each idea opens with a short narrated video, about 1 minutes in all. Then you put it to work in the game.
The six levels
- Pack a Tent Change it
- Too Heavy Copy and type
- Map First Fill the gap
- Grab the Last One Write it
- The Vanishing Pack Fix it
- Any Trip 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.