why im getting a run on loop

reservations = []


# Function to Make a New First-Class Reservation:

def make_first_class_reservation():
global name # Declare 'name' as a global variable
name = input("Enter passenger name: ") # Get passenger name
seat = input("Enter seat number: ")



# Create a new reservation entry with captured name
reservation = [name, seat, "First Class"]

# Add the reservation to the 2D list
reservations.append(reservation)


# Function to Display All Reservations:

def display_all_reservations():
for idx, reservation in enumerate(reservations, 1):
print(f"Reservation {idx}: Passenger Name - {reservation[0]}, Seat Number - {reservation[1]}, Class - {reservation[2]}")


#Main Program Loop:

while True:
print("Choose an option:")
print("1. Make a new first-class reservation")
print("2. Display all reservations")
print("3. Update a reservation")
print("4. Cancel a reservation")
print("5. Exit")

option = input("Enter your choice: ")

if option == "1":
make_first_class_reservation()
elif option == "2":
display_all_reservations()
elif option == "3":
# Add functionality to update a reservation
pass
elif option == "4":
# Add functionality to cancel a reservation
pass
elif option == "5":
print("Invalid option. Please choose a valid option.")