(seats, guests)
return seats
Asses if guest can be accommodated.  Update seating if they can be.

    :param seats: dict - seating chart dictionary.
    :param guests: list - walk-in guests
    :return: dict - updated seating chart with available spaces filled.
Asses if guest can be accommodated.  Update seating if they can be.
Asses if guest can be accommodated . Update seating if they can be .
def accommodate_waiting_guests(seats, guests):
    """Asses if guest can be accommodated.  Update seating if they can be.

    :param seats: dict - seating chart dictionary.
    :param guests: list - walk-in guests
    :return: dict - updated seating chart with available spaces filled.
    """

    curr_empty_seats = current_empty_seat_capacity(seats)
    empty_seat_list = find_all_available_seats(seats)

    if len(guests) <= curr_empty_seats:
        for index, _ in enumerate(guests):
            seats[empty_seat_list[index]] = guests[index]

    return seats
def accommodate_waiting_guests ( seats , guests ) : curr_empty_seats = current_empty_seat_capacity ( seats ) empty_seat_list = find_all_available_seats ( seats ) if len ( guests ) <= curr_empty_seats : for index , _ in enumerate ( guests ) : seats [ empty_seat_list [ index ] ] = guests [ index ] return seats