main.py
Loading editor…
ReadyLn 1, Col 1Python

Python

Python online compiler

Run Python online and step through it a line at a time, forwards and backwards, seeing every variable. Turtle and matplotlib draw as the code runs.

About this Python compiler

Python is the default language for teaching, automation, and data work. This playground executes a single file with optional standard input so you can practise loops, functions, and I/O without leaving the page.

Questions and answers

What is Visual mode?
Visual runs your programme with real Python inside your browser. It can draw with the turtle module, show matplotlib plots, and step through the programme one line at a time, forwards and backwards, showing each variable and the call stack. Choose Visual beside Server above the editor.
Is this Python 3?
Yes: Python 3.15. Python 2 is not offered.
Can I install pip packages?
No, but NumPy, SciPy, pandas, SymPy and matplotlib are already installed, alongside the standard library.
Does input() work interactively?
Yes in Interactive mode — type answers in the terminal as the programme prompts. Use Batch mode when you already know the full stdin.