Python playground

def greet(name):
    print(f"Hello, {name}!")

greet("World")
This playground is completely in-browser.

The first run will download the Python runtime (26.3 MB), so it may take some time. Subsequent runs will be instantaneous.

Python is a multi-paradigm, dynamically typed, garbage-collected language. It is often described as "batteries included" due to its extensive standard library.

⛫ homepage • αω tutorial • ⚘ community

Sandbox details

Python version:     3.12
sandbox engine:     wasi
sandbox name:       python
allowed commands:   run
in-browser:         ✔

Usage example:

```py
print("Hello, World!")
```

<codapi-snippet engine="wasi" sandbox="python" editor="basic">
</codapi-snippet>

Documentation