input: 
  def removeItem(list, item):
      """
      Removes all occurrences of a specified item from a list.
      
      >>> removeItem([1, 2, 3, 4, 2, 5, 2], 2)
      [1, 3, 4, 5]
      >>> removeItem([5, 5, 5, 5, 5], 5)
      []
      >>> removeItem([1, 2, 3, 4, 5], 10)
      [1, 2, 3, 4, 5]
      """
      return [i for i in list if i != item]
  
output:     return [i for i in list if i != item]