input: Write a function to remove all occurrences of a specified item from a given list. If the specified item is not in the list, the list should remain unchanged. Return the modified list.
  
  def removeItem(list, item):
      # Create a new list without the specified item
      new_list = [i for i in list if i != item]
      # Return the new list
      return new_list
  
  #example
  assert removeItem([1, 2, 3, 4, 2, 5, 2], 2) == [1, 3, 4, 5]
  assert removeItem([3, 4, 5, 1, 2], 6) == [3, 4, 5, 1, 2]
  assert removeItem([], 7) == []
  assert removeItem([1, 1, 1, 1], 1) == []
  assert removeItem([3, 5, 4, 1, 2], 3) == [5, 4, 1, 2]
output: def removeItem(list, item):
      new_list = [i for i in list if i != item]
      return new_list