0 out of 68 challenges solved

Exclude the first and last items in a list

def exclude_first_last_items(lst):
    """
    Returns a new list that contains all elements of the original list except for the first and last items.

    Args:
    lst (list): The input list.

    Returns:
    list: The new list with excluded first and last items.
    """
    # TODO: Implement the exclude_first_last_items function
    pass