Offline coach
PaiCode

Build a real game in Python

One small step at a time, with an AI coach who gives hints — and can jump in to help. You write the code, then watch it run live in your browser.

Real Python Live preview AI coach

Free. Your progress is saved to your account so you can pick up where you left off.

🐍
print("hello!")
Start here

Hello, Python!

Python

Brand new to Python? Start here. You'll learn how to make the computer talk, remember things, do math, ask questions, make decisions, and repeat — and by the end you'll have built a tiny number-guessing game, all by yourself.

Catch the Apples Beginner

Catch the Apples

Python (pygame)

You'll build a game where a basket moves left and right to catch apples falling from the sky. You write every line yourself in catch_game.py. Run it with `python catch_game.py`, or press ▶ Live Preview to play it right in the browser.

Space Dodger Intermediate

Space Dodger

Python (pygame)

You'll build an arcade game: fly a ship and dodge falling asteroids, scoring points the longer you survive. You write every line in space_dodger.py. Run it on your computer with `python space_dodger.py`, or press ▶ Live Preview to run your very same code right in the browser.