Try it live
Python Sandbox
Real Python, running right in your browser. Edit the code, hit Run, see what happens. No install, no setup.
Ctrl+Enter to run ·
Tab inserts 4 spaces ·
select lines and Tab / Shift+Tab indents them in and out ·
Python loads the first time you press Run (5-10 seconds), then it's instant ·
type import turtle to draw, or import game to make a game.
New to games? Read the Libraries & import guide.
My code
Your private saves. Only you see these, and they follow you to any computer you sign in on. Saving with a name you already used replaces that version.
Try a snippet
Pick a category, then click any snippet to load it into the editor and hit Run.