input: Write a python function to remove a specified element from a list.
  assert remove_element([1, 2, 2, 3, 2, 4], 2) == [1, 3, 4]
  assert remove_element([5, 5, 5, 5], 5) == []
  assert remove_element([1, 2, 3, 4, 5], 6) == [1, 2, 3, 4, 5]
output: def remove_element(lst, element):
      return [x for x in lst if x != element]