fibo = [0, 1] while len(fibo) < 30: fibo.append(fibo[-1] + fibo[-2]) print("The Fibonacci Sequence:\n\n") for i in fibo: print(i)