def make_a_reservation(cursor, connection): seats = [] username = input("Enter username > ") number_of_tickets = input("Enter the number of tickets > ") Movies.get_all(cursor, connection) movie_id = input("Choose a projection >") Projections.get_all_for(cursor, movie_id) projection_id = input("Enter the wanted projection") for x in range(1, int(number_of_tickets)+1): seats.append(Reservations.choose_seats(cursor, connection, projection_id)) Reservations.print_reservation(cursor, username, movie_id, projection_id, seats) Reservations.confirm(cursor, connection, username, projection_id, seats)