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

12 lines
158 B
Python
Raw Normal View History

2017-12-03 15:09:31 +01:00
def Fibo(n):
if n == 0:
yield 0
if n == 1:
yield 0
else:
yield (Fibo - 1) + (Fibo - 2)
for i in Fibo(10):
print (i)