Getting Started
Write Python code in the editor on the left. Click Run or press Ctrl+Enter to execute your code.
Keyboard Shortcuts
- Ctrl+Enter - Run code
- Ctrl+S - Save to browser
- Ctrl+/ - Toggle comment
- Escape - Close this dialog
Printing Output
print("Hello!")
Variables
x = 10
print(x * 2)
Loops
for i in range(5):
print(i)
Functions
def greet(name):
return "Hello, " + name
print(greet("World"))
Saving Your Work
Files are saved in your browser's local storage. Use Download to save a .py file to your computer.