New-learner offer: courses from $12.99 this week. Browse courses
Python 3.12 · free · no sign-up · input supported
Scripts, data work and interview prep in the most beginner-friendly language.
Write and run Python 3 code directly in your browser. Nothing to install: type your program, press Run and the output appears in seconds, including anything your script reads from standard input.
The editor supports syntax highlighting, auto-indentation, bracket matching and keyboard shortcuts, and it remembers your last program on this device. It is a fast way to test an idea, check an answer while you study, or practise for a coding interview.
Use dataclasses, typing, itertools, json, re and the rest of the batteries included with CPython.
Paste test input into the Input panel and read it with input() or sys.stdin, exactly like a judge would feed it.
Tracebacks are shown separately from normal output so you can spot the failing line quickly.
Programs run on CPython 3.12, so modern syntax such as match statements, the walrus operator and f-strings all work.
No. The sandbox ships with the standard library only. For third-party packages use a local environment or a notebook service.
Type it into the Input panel before pressing Run. Each line becomes one line of standard input, so input() returns them in order.
Yes. Each run gets a few seconds of CPU time and a modest memory budget. Infinite loops are stopped automatically and reported as a time-out.