n = 30 num1 = 0 num2 = 1 next_num = num2 count = 1 print("The fibonacci Sequence: ", "\n") while count <= n: print(next_num, end=" ") count += 1 num1, num2 = num2, next_num next_num = num1 + num2 print()