input: Write a function to remove all occurrences of a specified item from a given list. Return the modified list without the specified item. If the list is empty, return the empty list. The function should not modify the list in place.
  
  def removeItem(list, item):
      return [i for i in list if i != item]
  
  #example
  list = [1, 2, 3, 4, 2, 5, 2]
  result = removeItem(list, 2)
  
  print(result)
  # Output: [1, 3, 4, 5]
  
output: def removeItem(list, item):
      return [i for i in list if i != item]