input: Write a python function to find the index of an element in a list.
  assert find_index([1, 2, 3, 4, 5], 3) == 2
  assert find_index([10, 20, 30, 40, 50], 20) == 1
  assert find_index([5, 6, 7, 8, 9], 10) == -1
output: def find_index(lst, element):
      try:
          return lst.index(element)
      except ValueError:
          return -1