0
What should be corrected in this code ??? if im totally wrong help would be appreciated
def fib(x): if x==0 or x==1: return 1 else: return fib(x)+fib(x-1) if x==5: break else: return x a = fib(10) print(list(a))
1 Réponse
0
Please tag 'Python recursion'. A single letter 'a' doesn't help with context clarity 👍