Lesson 18 of 79 · 15 minutes
Asking the user: input(): Ticket Booth
Run a ticket booth. Ask each visitor questions, and print tickets from their answers.
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
- Asking a question with input()
- Tidy questions
- Replying with an f-string
- Keep the answer, or lose 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
- First Visitor Change it
- Two Questions Copy and type
- Warm Welcome Fill the gap
- Film Night Write it
- Lost Answer Fix it
- The Queue 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.