The companion book

The Python Reference

A proper reference, written like a textbook and ordered exactly like the course. Every concept the ladder teaches — explained in plain English, with worked examples, the mistakes to avoid, and why it matters. Read it cover to cover, or jump to what you need.

12 chapters · 84 concepts · free to read

01

First Light

Curious Beginner

The smallest possible working program, and the four ideas under it: printing, storing values, building text from data, and turning text into numbers.

  1. print() and strings
  2. Variables and types
  3. f-strings (string interpolation)
  4. Converting between strings and numbers
02

Logic & Loops

Apprentice

Code that makes decisions and repeats itself — reading errors, branching with if/elif/else, combining conditions, and the two loop shapes (while and for).

  1. Reading errors and debugging
  2. if / elif / else
  3. Boolean logic: and / or / not
  4. while loops
  5. for loops and accumulation
12

Judging AI Code

AI Architect / Lead

Reviewing and verifying AI-generated code — catching confident-but-wrong logic, hallucinated APIs, insecure patterns and missing tests, then making the accept/reject/revise call with evidence rather than trust.

  1. The confident-but-wrong output
  2. The hallucinated API
  3. Plausible-but-insecure
  4. The missing test
  5. Silent edge-case failure
  6. Accept / reject / revise