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

8 lines
145 B
Python
Raw Normal View History

# lab03, task02
def fibN(n):
2017-12-16 02:41:43 +01:00
prev, current = 1, 1
for n in range(n):
yield prev
prev, current = current, prev + current