# Initialize the first two Fibonacci numbers a, b = 0, 1 # Print the first two numbers print(a) print(b) # Loop to calculate and print the remaining 18 Fibonacci numbers for _ in range(18): # We need 18 more numbers after the initial two next_fib = a + b print(next_fib) a = b b = next_fib