Python Playground
Write code. Press run. See it work.
Your code runs entirely in your browser — nothing is sent to a server. Edit, press Run, and watch what Python does.
Booting Python…
main.py
Loading editor…
Program input — one value per line, fed to input()
Live input is unavailable in this browser. Enter all answers here, one per line, before running.
Output
Run your code to see output here.