Your ideas. Real code.

Python playground.

Type something. Run it. See what happens. This is your space to experiment, make mistakes, and surprise yourself.

A blank page of possibilitiesChoose a project starter ↗

Try a little print(), a loop, or a completely new idea. Your draft stays in this browser when storage is available.

my_adventure.pyPython · in your browser

Edit the code. Then run it. Ctrl / ⌘ + Enter also works.

OutputYOUR IDEAS, ALIVE
Your program’s output will appear here.

Ready when you are. ✦

The first run loads Python. This can take a moment.

Program input For programs that use input()

Add answers before you run. Each input() reads the next line. Use made-up names and details.

Real Python, powered by Pyodide. Standard-library programs work here; desktop windows, turtle graphics, and package installation are not supported by this editor. Programs stop after 10 seconds of execution.

Back to the starting code?

This replaces your edits for this activity. Download your code first if you want to keep it.

Need a starting point?

Follow a short lesson, then bring your new idea back here.

Explore the Python trail →

Got a red message?

That’s a clue, not a failure. The last line often explains which bit needs attention.

Practice finding bugs →

Keep your creation

Use Download .py to keep a file of your code. Programs run on your device. Don’t type personal information into your projects.