Add week8 contributions

This commit is contained in:
lisekarimi
2025-06-05 16:42:02 +02:00
parent 5782ca2b43
commit 141216e8f7
13 changed files with 12066 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
import sys, modal
app = modal.App("example-hello-world")
@app.function()
def f(i: int) -> int:
if i % 2 == 0:
print("hello", i)
else:
print("world", i, file=sys.stderr)
return i * i