Python for students · runs in your browser

Learn to code by solving, one checkpoint at a time.

565 guided Python problems, from your first return to binary search trees. Write code, run it instantly, and get feedback that explains why it didn't work, not just that it didn't.

No install. Free. Log in to save your progress across devices.

Built for learning

Not a contest. A practice space.

There's no leaderboard and no clock to beat. Everything is designed to help you understand what your code is doing.

Real Python, in your browser

Your code runs on CPython compiled to WebAssembly (Pyodide). Nothing to install, and infinite loops are stopped safely.

Checkpoints, not just ✓ or ✗

Each problem is checked against 3 to 5 test cases. See the input, what was expected and what you returned, side by side.

Errors explained

A TypeError on line 4? You get a plain-English explanation and the line is highlighted in your code.

An AI tutor that won't spoil it

Stuck? Ask Bit, the built-in AI tutor. It sees your code and error, explains the idea and nudges you forward, but never hands over the answer.

Hints before solutions

Hints come one at a time. Solutions unlock only after you solve the problem or make three honest attempts.

Your progress, saved

Log in to keep your code, attempt history, XP and streak, and to ask the AI tutor. Try it as a guest first if you like.

How it works

Three steps, every problem

Read and think

Each problem explains the goal, shows worked examples, and and Bit, the AI tutor, is there if you get stuck.

Code and run

Write your function in the editor. Press Run to see printed output, or Run checkpoints to test it.

Submit and learn

Submitting also runs a hidden checkpoint that catches edge cases. Pass them all to clear the problem and earn XP.

The path

Five levels, sixteen modules

Start anywhere: pick a tier, a module, or let the dice choose a random unsolved problem for you.

Ready for problem #1?

It takes about two minutes. You'll write a function that adds two numbers, and learn what return really does.

Start problem #1