A complete beginner course that runs in your browser. Read a short lesson, run the code on the page, and check your own exercises.
Try it now. Change the code and press Run.
The course has two parts and takes you from your first line of code to tested, object-oriented programs. Two shorter tracks continue from there.
Write small programs that make decisions, repeat work, and organize data. Start here if you have never programmed before.
Five guided projects come at the end of modules 4, 6, 8, 10 and 12. You build each one step by step, with the full program at the end.
It explains what Python is and has you run your first line of code on the page.