Free · No account · Runs in your browser
Learn Python in your browser, one short lesson at a time
Every lesson has real code you can edit and run, an exercise the page checks, and a quiz. Python is the first course.
name = "World"
print(f"Hello, {name}!")Hello, World!
Try it. Change the name, press Run, read the output.
Python
Learn Python from your first print() call. Every example runs real Python 3.14 in your browser, and each lesson ends with an exercise and a quiz.
- Getting started8
- Making decisions4
- Optional setup1
How a lesson works
Read, then run
Most ideas come with a short program you can edit. Press Run and the output appears under it, produced by a real copy of the language running in your browser.
Do the exercise
Every lesson has starter code and a target output. The page compares your output with the target and shows the first line that differs.
Take the quiz
A handful of questions, each with a short explanation. Answer every question and the lesson gets a check mark wherever the course lists it. Your progress is saved in your browser.