input: Write a function to remove all occurrences of an item from a given list. The function should return the modified list with all specified elements removed. If the list is empty or the item to remove is not present in the list, the function should simply return the original list.
  
  def removeItem(list, item):
      return [i for i in list if i != item]
  
  # Example 1
  assert removeItem([1, 2, 3, 4, 2, 5, 2], 2) == [1, 3, 4, 5]
  # Example 2
  assert removeItem([1, 2, 3, 4, 2, 5, 2], 6) == [1, 2, 3, 4, 2, 5, 2]
  # Example 3
  assert removeItem([], 2) == []
  # Example 4
  assert removeItem([2, 2, 2, 2], 2) == []
output: def removeItem(list, item):
      return [i for i in list if i != item]