input: Write a python function to find the index of an element in a list.
  assert find_index(['a', 'b', 'c', 'd'], 'd') == 3
  assert find_index(['x', 'y', 'z'], 'y') == 1
  assert find_index(['apple', 'banana', 'cherry'], 'banana') == 1
  assert find_index(['a', 'b', 'c', 'd'], 'e') == -1
output: def find_index(lst, element):
      try:
          return lst.index(element)
      except ValueError:
          return -1