def appointment_removal(parent, list_to_remove):
    """
    Removes the appointment in list_to_remove from parent.
    """
    for element in list_to_remove:
        for index in range(0, len(parent)):
            parent[index] = \
                [item for item in parent[index]
                    if item != element]
    return parent