input: Write a python function to get the nth element from a list.
  assert get_nth_element([1, 2, 3, 4, 5], 2) == 3
  assert get_nth_element(['a', 'b', 'c', 'd'], 0) == 'a'
  assert get_nth_element([10, 20, 30, 40, 50], 4) == 50
output: def get_nth_element(lst, n):
      return lst[n]