Ctrl+Enter runs · Tab indents · Ctrl+/ comments · Esc then Tab leaves the editor

Output

How to use Python Online Compiler

Write Python, add input values and press Run — the interpreter runs on your device in a fraction of a second.

  1. Write code or load an example.
  2. Press Run (Ctrl+Enter).
  3. Read the output and fix errors.
  4. Share a link, download the file or keep the draft in this browser.

Questions

Which Python is this?

MicroPython 1.29, a fast implementation of Python 3 with the core language, f-strings, classes, generators, exceptions and modules such as math, json, re, random, collections and ulab (a NumPy subset). Some standard-library modules and third-party packages are not available.

How does input() work?

Type the values your program reads into the Input box, one per line, before pressing Run.

What about infinite loops?

Each run has a time limit and a Stop button; the interpreter runs in a separate worker and is discarded afterwards.

Is my code uploaded?

No. It runs in your browser and drafts are saved only in this browser. Share links keep the code in the part of the URL after #, which browsers never send to a server.

Ratings & reviews

No ratings yet. Signed-in users can rate this app.