def red(a): c=[1,1] fib1=fib2=1 for i in range(a-2): fib_sum=fib1+fib2 fib1,fib2=fib2,fib_sum c.append(fib_sum) return c print(red(15))