input: Write a function to get the last element of a list.
  assert get_last_element([1, 2, 3, 4, 5])==5
  assert get_last_element(['a', 'b', 'c'])=='c'
  assert get_last_element([True, False, True])==True
output: def get_last_element(lst):
      return lst[-1]