Snippet
def silly_loop(x: int)-> int:
if x < 2:
return x
else:
return 2 + silly_loop(x-3)
silly_loop(10)
Solution
Image Description
(Coming Soon)
def silly_loop(x: int)-> int:
if x < 2:
return x
else:
return 2 + silly_loop(x-3)
silly_loop(10)
(Coming Soon)