Lesson 60 of 79 · 15 minutes
Tuples: Map Pins
Place pins on a map using coordinates. A tuple is a small group of values that belong together.
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
- Values that belong together
- Unpacking
- Giving back two values
- A tuple can't be changed
- x and y the wrong way round
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
- How Far Along? Change it
- Name Them Copy and type
- Two Answers Fill the gap
- Move the Pin Write it
- Wrong Place Fix it
- Pin the 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.