input: Write a python function to remove a specified element from a list.
  assert removeElement([1, 2, 3, 4, 5], 3) == [1, 2, 4, 5]
  assert removeElement([10, 20, 30, 40], 20) == [10, 30, 40]
  assert removeElement([7, 8, 9, 10], 7) == [8, 9, 10]
output: def removeElement(lst, element):
      return [x for x in lst if x != element]