Never written a line of code? Start at the very beginning. Ten short lessons take you from "what even is a program?" to writing real Python — variables, loops, functions, lists, dictionaries, strings, and how to debug when things break. Every term is defined the first time it appears.
# Your very first program. name = "world" print("hello, " + name + "!") # → hello, world!
The computer does exactly what you say, in order, one step at a time. Nothing is magic — coding is learning to spell out steps precisely enough for a machine to follow.
Most lessons end with a runnable challenge: you write a few lines of Python and run them right in the page against real test cases. A short quiz unlocks the next lesson.
Each one builds on the last. Master one idea per page and always know what comes next.
Twenty minutes from now you'll have run real Python and understood every character of it. No installs, no account, no cost — just open lesson 1 and start.