Python playground
Write Python, run it and answer its questions, with a plain-English hint when something goes wrong.
Python playground
Write a program and press Run. It runs on this device: nothing you type is saved or sent anywhere, and it is gone when you leave the page.
input() asks a question and gives back text; print() shows it.
Tab indents and Shift+Tab takes the indent off. To leave the editor with the keyboard, press Esc then Tab. Ctrl+Enter (Cmd+Enter on a Mac) runs the program.
Press Run to start your program.