input: Write a function to remove all occurrences of a given item from a list. The function should iterate through the list and remove any element that matches the given item, then return the modified list. If the list is empty, the function should return an empty list.
  assert removeItem([1, 2, 3, 4, 2, 5, 2], 2) == [1, 3, 4, 5]
  assert removeItem([1, 2, 3, 2, 4, 2], 2) == [1, 3, 4]
  assert removeItem([], 2) == []
  assert removeItem([1, 3, 4, 5], 2) == [1, 3, 4, 5]
  assert removeItem([2, 2, 2, 2], 2) == []
output: def removeItem(lst, item):
      return [x for x in lst if x != item]