Write your own Python programs, or bring an example across from the field guide. Make room for the “what if?” questions.
YOUR OWN ADVENTURE.PYREAL PYTHON 3
Use print() to display a result. Ctrl / ⌘ + Enter runs the whole program. Tab moves to the next control.
Add answers before Run, one per line. input() reads them in order; a blank line is an empty answer. If answers run out, Python reports EOFError. This is not a live terminal.
OUTPUTPython loads when you run
Your program's output will appear here.
No score. No correct ending. This space is yours to experiment.
Each Run starts with fresh program variables. The Python engine stays loaded until Stop or you leave the page. Long-running programs stop after 10 seconds; output is capped to keep the browser responsive.