Snippet
def loop(x: int) -> int:
if x < 3:
return x
else:
return loop(x-2)
print(loop(6))
Solution
Image Description
(Coming Soon)
def loop(x: int) -> int:
if x < 3:
return x
else:
return loop(x-2)
print(loop(6))
(Coming Soon)