num1 = 0 num2 = 1 count = 1 print(num1, '', num2, ' ', end=('')) while count != 30 : print(num1 + num2, ' ', end=('')) num3 = num1 + num2 num1 = num2 num2 = num3 count = count+1