input: Write a python function to get an element from a list by its index.
  assert get_element([1, 2, 3, 4, 5], 2) == 3
  assert get_element(['a', 'b', 'c', 'd'], 1) == 'b'
  assert get_element([10, 20, 30, 40, 50], 4) == 50
output: def get_element(lst, index):
      return lst[index]