input: Write a python function to display the first and last elements of a list.
  assert display_first_last_elements([1, 2, 3, 4, 5]) == (1, 5)
  assert display_first_last_elements(['apple', 'banana', 'cherry', 'date']) == ('apple', 'date')
  assert display_first_last_elements([True, False, True, False]) == (True, False)
output: def display_first_last_elements(lst):
      return (lst[0], lst[-1])