Skip to content

Playground

>A blank file and a Run button

Code on the left, output on the right. If your program calls input(), it asks you for the value in the output pane. Drag the divider to resize, or go fullscreen to focus.

Python idle
main.py
14px
# The playground runs Python in your browser.
# Press Ctrl+Enter (or Cmd+Enter) to run.

names = ["Ada", "Linus", "Grace"]
for i, name in enumerate(names, start=1):
    print(i, name.upper())
OutputIdle
Nothing yet. Press Run to execute your code.

Tip: drag the middle bar to resize the panes, or go fullscreen for a distraction-free run. Press Ctrl+Enter to run without leaving the keyboard.