A /docs/undefined +29 -0
1import marimo2
3__generated_with = "0.13.0"4app = marimo.App()5
6
7@app.cell8def greeting():9 import marimo as mo10 mo.md("# Hello from marimo")11 return (mo,)12
13
14@app.cell15def arithmetic():16 result = sum(range(1, 101))17 print(f"Sum of 1 to 100 = {result}")18 return (result,)19
20
21@app.cell22def use_result(result):23 squared = result ** 224 print(f"Result squared = {squared}")25 return (squared,)26
27
28if __name__ == "__main__":29 app.run()