🐍 Python tutorial
Python tutorial — from print() to your first deployed project.
Interactive lessons. Real Python in your browser. An AI tutor on every step. 15 lessons free, no signup, no credit card.
✓ Browser-native Python · ✓ AI tutor on every lesson · ✓ 15 lessons free
The 174-lesson roadmap
Syntax + first runs
print, variables, types, basic arithmetic. By lesson 5 you can write a tip-calculator in 4 lines.
Conditions + loops
if/else, comparison operators, for / while, range, break/continue. Builds the brain to read other people's code.
Data structures
lists, dicts, sets, tuples — when each one is the right answer. Includes the 5 most-asked dict patterns.
Functions + scope
def, return, args + kwargs, default values, the mutable-default trap, lexical scope. The 'I now read library code' module.
Files + errors + stdlib
Read/write files (text + JSON), try/except patterns, the parts of the standard library you'll actually use weekly (os, pathlib, datetime, json, re).
Mini-projects
5 small builds: tip calculator → password generator → CSV summariser → habit tracker → a real Discord-style chat log analyser. Each ends with a shareable URL.
Try the first 5 free
Ready to start? 15 lessons are free without signup — no credit card.
▶ Open lesson 1 →