Lesson 52 of 79 · 15 minutes
Grids: lists inside lists: Cinema Seats
Rows and columns: find, book and count the seats in a cinema, with lists inside 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
- A list of lists
- Changing one seat
- Looping over one row
- Looping over the whole grid
- Row and column swapped
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
- Row 1, Seat 2 Change it
- Book a Seat Copy and type
- Along the Row Fill the gap
- Count the Free Seats Write it
- The Wrong Seat Fix it
- Any Cinema 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.