print("Welcome, future programmer!")
Python for Beginners
A complete, free course that takes you from your very first line of code to writing real programs — variables, decisions, loops, lists, dictionaries and functions — explained so simply that anyone can follow, one small step at a time. Run every example right in your browser.
10 chapters
No experience needed
Real-world analogies
Runs in the browser
No installs
Start Chapter 01 →
Your progress
How this course works
Every chapter follows the same friendly shape, so you always know what to expect:
- A real-world analogy first — the idea in plain, everyday terms before any code.
- Small examples you can run — every code block works in our free code playground. The dashed box under each one shows exactly what it prints.
- "Try it yourself" tasks — little challenges so you write code, not just read it.
- A recap at the end of every chapter, so the key ideas stick.
Your progress is saved on this device, so you can stop and pick up where you left off.
The chapters
01Your First ProgramGetting Started
02Variables & Data TypesGetting Started
03Working With TextWorking With Data
04Numbers & MathWorking With Data
05Getting InputWorking With Data
06if / elif / elseMaking Decisions & Repeating
07LoopsMaking Decisions & Repeating
08ListsStoring Many Things
09DictionariesStoring Many Things
10FunctionsReusing Code