Playground

main.py
Output

Output will appear here.

Free · No login required

Python Coach Playground

Write and run Python in your browser. No installs. No sign-up. Works great in classrooms.

Classroom tools

Copy the current code so you can paste it into a document, email, or worksheet.

Create a link that opens this playground with the current code already loaded.

🐢 Try the Turtle Playground → Try Python Coach — structured lessons →

Free online Python editor for schools

The moment a student opens this page, they can write Python. No install request to IT. No forgotten passwords. No ten minutes lost before the lesson even starts.

Built for GCSE Computer Science

The examples cover what students actually need — variables, if statements, for loops, lists, and functions. Everything maps to the AQA, OCR, and Edexcel specifications. If you're teaching GCSE Computer Science, this is the content your students are being assessed on.

For teachers who need it to just work

Use it for live demonstrations on the board. Set it as a starter activity. Share a link with a class and everyone opens the same code, ready to run. No accounts, no logins, no IT ticket.

For students practising at home

Works on any device with a browser — school laptop, home computer, tablet. Students can pick up where they left off without needing anything installed. Just open the link and carry on.

Want more than a blank editor?

Python Coach includes 27 structured lessons and 195 challenges — taking students from their first print statement through to functions and file handling. Teachers get a live view of who's progressing, who's stuck, and who's ready for more.

GCSE revision guides

Python for loops — GCSE guide →

Python functions — GCSE guide →