Build with Python · free foundation + advanced labs
Learn Python by seeing how your code works.
Write Python, press Run, and see what it draws. Fourteen free modules that start from zero, then ten advanced modules on data structures and solving problems.
from scimigo import canvas, rectangle, circle, text
canvas(600, 400)
eye_color = "green"
rectangle(200, 100, 200, 180, color="orange")
circle(260, 170, 15, color=eye_color)
circle(340, 170, 15, color=eye_color)
text(235, 60, "My Robot", size=28)Start with one idea
What you build
24 modules
Part 1 teaches Python from nothing: variables, decisions, loops, functions and data, up to a game you build yourself. Part 2 uses it on harder problems: the data structures and patterns behind efficient programs.
Part 1 · Learn Python from zero14 modules · free
Part 2 · Solve problems10 modules · free lessons, paid labs
The guided labs include
- 151 activities in ten modules: predict, change, then write your own
- 282 checks that say which case your code got wrong
- Checks that count the work, so a slow answer does not pass as a fast one
- Assignments at the end of every module
- A last module where nobody names the technique
- One-time purchase, not a subscription
$49
How it works
What is different
Predict before you run
Most activities start by asking what a program will do. Then you run it and see whether you were right.
Step through every line
Go through your program one line at a time and see each value, each list and each call as it changes.
Checks say what went wrong
They test your program with other inputs too, and tell you which case it got wrong and what it produced.
Build with Python: frequently asked questions
Do I need to install Python?
No. Every lab runs in your browser, so there is nothing to install, and the free modules need no account. Your code stays on your device.
Is it real Python?
Yes. The labs run standard Python (CPython, compiled to WebAssembly by Pyodide) in your browser. The drawing instructions such as canvas, rectangle and circle come from a small module made for this course; everything else is the Python you would install on your own computer.
Is Build with Python free?
The fourteen foundation modules are free, lessons and labs. Every advanced lesson is free to read as well. A one-time purchase unlocks the labs of the ten advanced modules.
What does the purchase include?
The labs of modules 15–24: stacks, queues and breadth-first search, a cache, one-pass lookup, two ends of a sorted list, halving, sliding windows, remembering answers, filling a table, and a last module where nobody names the technique. That is 151 activities with 282 checks, including checks that count the work your code does, so a slow answer does not pass as a fast one.
Do I need any programming experience?
No. Module 1 starts with a single drawing instruction and takes it apart. Each module uses only what the ones before it taught.
What will I build?
A robot and a house, a sunset run by three variables, a checkerboard, a flower garden, a scoreboard, a pixel grid, a letter chart, Tic-Tac-Toe, and a second game from a description alone. In the advanced track: a bracket checker, a calculator, a shortest route through a maze, a cache, and fast answers checked against slow ones.
How is this different from other beginner Python courses?
Most activities ask you to predict what a program will do before you run it. Then you can step through it line by line and see every value change, and checks tell you what your own code got wrong. The aim is that you can say why a program does what it does.