1
0
forked from tdwojak/Python2017
Python2017/labs03/z2.py

13 lines
214 B
Python
Raw Normal View History

2018-01-26 15:12:25 +01:00
def Fibo(n):
for i in range(n):
if n==0:
return 1
elif n==1:
return 1
else:
a=Fibo(n-1)
a+=Fibo(n-1)
return a
print(Fibo(4))