Skip to main content

Execute the short Python example in an isolated browser environment and see the printed results.

Preview and results

After processing is complete, the results will be displayed here.

Instructions for use

  1. Enter a short MicroPython program into the code box to run the pre-filled examples first.
  2. Click "Run Python" to view the print results or error messages in the output area.
  3. Rerun after modification; each time you use an independent environment, it will be terminated if it runs for more than 3 seconds, and pip or network is not supported.

Input and output examples

Example input
print(sum(range(6)))
Example output
15

These are demo inputs and sample results, and do not mean that your data has been processed.

Calculation basis and reference materials

Uses MicroPython, which is not full CPython and does not provide pip, hardware interfaces or networking. Maximum 20000 characters, terminate after running for more than 3 seconds, clear the environment after refreshing or leaving.

Content check: · About this site and content description

Related tools