mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
8 lines
119 B
Python
8 lines
119 B
Python
def f(n):
|
|
def g(x):
|
|
if x==n:
|
|
return n
|
|
return g(x+1)
|
|
return g(0)
|
|
|
|
assert f(10) == 10 |