Python playground

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

greet("World")

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:     codapi
sandbox name:       python
allowed commands:   run, test
in-browser:         via wasi

Usage example:

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

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

Documentation