# 0 1 1 2 3 5 8 13 21 34 def fib(n): Fiblist=[] Fiblist.append(0) Fiblist.append(1) for i in range(2, n): x=Fiblist[i - 1] y=Fiblist[i-2] Fiblist.append(int(x+y)) return Fiblist FIBLIST=[] FIBLIST=fib(300) print(FIBLIST)