Snippet
def f(n: int) -> int:
if n == 0:
return 1
else:
return f(n-1) * 2
print(f(3))
Solution
Image Description
(Coming Soon)
def f(n: int) -> int:
if n == 0:
return 1
else:
return f(n-1) * 2
print(f(3))
(Coming Soon)