Skip to content

Instantly share code, notes, and snippets.

@manzt
Created February 27, 2026 21:47
Show Gist options
  • Select an option

  • Save manzt/89e4f17f40c5245f9b9297dc018a8c2b to your computer and use it in GitHub Desktop.

Select an option

Save manzt/89e4f17f40c5245f9b9297dc018a8c2b to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"[![Open in molab](https://molab.marimo.io/molab-shield.svg)](https://molab.marimo.io/github/gist.github.com/manzt/89e4f17f40c5245f9b9297dc018a8c2b)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "58241aa3-9784-40a0-b770-8bafb9586674",
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0\n",
"1\n",
"2\n",
"3\n",
"4\n",
"5\n",
"6\n",
"7\n",
"8\n",
"9\n"
]
}
],
"source": [
"for i in range(10):\n",
" print(i)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "a0e0edd1-d445-443d-9cc0-4c21b6ddb84d",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3"
},
"marimo": {
"marimo_version": "0.20.2",
"session": {
"version": "1",
"metadata": {
"marimo_version": "0.20.2"
},
"cells": [
{
"id": "58241aa3-9784-40a0-b770-8bafb9586674",
"code_hash": null,
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": [
{
"type": "stream",
"name": "stdout",
"text": "0\n1\n2\n3\n4\n5\n6\n7\n8\n9\n",
"mimetype": "text/plain"
}
]
},
{
"id": "a0e0edd1-d445-443d-9cc0-4c21b6ddb84d",
"code_hash": null,
"outputs": [
{
"type": "data",
"data": {
"text/plain": ""
}
}
],
"console": []
}
]
}
}
},
"nbformat": 4,
"nbformat_minor": 5
}
# /// script
# requires-python = ">=3.14"
# dependencies = [
# "marimo>=0.20.2",
# "pyzmq>=27.1.0",
# ]
# ///
import marimo
__generated_with = "0.20.2"
app = marimo.App()
@app.cell
def _(mo):
mo.md(r"""
## Hello
""")
return
@app.cell
def _():
for i in range(10):
print(i)
return
@app.cell
def _():
return
if __name__ == "__main__":
app.run()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment