mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
up
This commit is contained in:
parent
5dcd7febe7
commit
d0b9d8b7ff
6
benchmarks/sum.py
Normal file
6
benchmarks/sum.py
Normal file
@ -0,0 +1,6 @@
|
||||
def f(n):
|
||||
if n == 0:
|
||||
return 0
|
||||
return n + f(n-1)
|
||||
|
||||
assert f(900) == 405450
|
Loading…
x
Reference in New Issue
Block a user