- 1
explain how it works?
def fib(x): if x==0 or x==1: return 1 else: return fib(x-1) + fib(x-2) print(fib(5))
3 Respostas
+ 1
No one can explain to you- like riding your bicycle .... take a sheet of paper and a pencil and go step by step.
0
a similar situation is considered in this matter
https://www.sololearn.com/Discuss/3072593/?ref=app