input: Write a python function to find the index of the target element in a list.
  assert find_target([1, 2, 3, 4, 5], 3) == 2
  assert find_target([10, 20, 30, 40, 50], 40) == 3
  assert find_target([5, 15, 25, 35], 10) == -1
output: def find_target(lst, target):
      try:
          return lst.index(target)
      except ValueError:
          return -1