How to use these lessons
Build and run Python programs, from a printed sign to an interactive ticket desk.
Edit real Python, supply input, and compare the output with examples. Work through strings, numbers, decisions, loops, lists, and functions. Combine them in a ticket desk that handles several customers.
- Start at the lesson marked Do this. Go on when you can do the line under the title by yourself.
- Read the line, then say what it prints.
- A short turn is enough. If a lesson is hard, do the one before it again.
- Type the line. A short line is enough.