Learn Python for AI engineering
Start at print("Hello")and finish shipping retrieval pipelines and agent loops. Eight modules, every one of them hands-on, every example editable and runnable right here.
Nothing to install
A real CPython interpreter is compiled to WebAssembly and runs inside your tab. No Anaconda, no PATH problems, no 'works on my machine'.
Built for AI engineering
Every concept is taught with the destination in mind — arrays before tensors, dicts before JSON payloads, generators before streaming responses.
You write the code
Exercises are checked by real assertions running against your actual program, not by matching your text against an answer key.
The path
Each module assumes only what came before it. Take them in order, or jump to the one you need.
Python Foundations
The language, from print() to control flow
9 lessons readyBeginner
Core Python
Functions, objects, and the shape of real code
10 lessons readyIntermediate
Numerical Python
NumPy, vectorisation, and thinking in arrays
7 lessons readyIntermediate
Data Wrangling
pandas, cleaning, and honest exploration
8 lessons readyIntermediate
Machine Learning Foundations
scikit-learn, and a neural net you write yourself
9 lessons readyAdvanced
LLM Engineering
Prompts, structured output, and tool-calling loops
8 lessons readyAdvanced
Retrieval and RAG
Embeddings, vector search, and grounded answers
7 lessons readyExpert
Production AI Systems
Async, testing, evals, and shipping it
9 lessons readyExpert
Open a blank editor and just try something.
The playground gives you a full Python environment with NumPy, pandas, matplotlib and scikit-learn one import away — all running locally in this tab.