Lesson 24 of 79 · 15 minutes
More choices: elif: Mail Sorter
Parcels ride along the belt, and your code sends each one down the right chute.
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
- More than two choices: elif
- Only the first True one runs
- else catches everything else
- Order matters
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
- Wrong Colour Change it
- By Weight Copy and type
- Handle With Care Fill the gap
- Everything Else Write it
- Wrong Order Fix it
- Rush Hour 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.