Ready to write real Python?

Python Playground

Write and run real Python right in your browser, with lessons, challenges, a debugging lab and mini projects.

Working prototype
Who it is forGrade 6 onwards (Beginner to Advanced pathways)
SkillsPython · Debugging · Problem-solving
TypeCoding lab
Loading the tool… Open in new tab

Before you begin

You’ll guess what might happen, make a choice, test it, and explain what changed. Wrong guesses are allowed (and encouraged).

How to use

  1. Read the challenge.
  2. Build or choose a model.
  3. Test it.
  4. Improve it.
  5. Explain why your final choice works.

Learning goals

  • Write and run real Python programs.
  • Read error messages and fix bugs.
  • Solve challenges checked by real tests.

Think again

What surprised you? What are you still not sure about? What would you test next?

About this prototype

Version 1, a working prototype. It hasn’t been tested with classes yet, so I’m not claiming any learning results.

Privacy

No sign-in is needed. The tool runs in your browser, and anything you type stays on your device. Please do not enter a child’s full name. The first visit downloads Python (about 12 MB), so give it a few seconds. Progress is saved only in your own browser.