Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

269 B
Raw Blame
import marimo

__generated_with = "0.0.0"
app = marimo.App()


@app.cell
def _():
    """A simple script."""

    import math

    def calculate_area(radius):
        return math.pi * radius ** 2

    print(calculate_area(5))


if __name__ == "__main__":
    app.run()