input: from typing import List
  
  def removeItem(list: List[int], item: int) -> List[int]:
      """Remove all occurrences of a specified item from a given list.
      >>> removeItem([1, 2, 3, 4, 2, 5, 2], 2)
      [1, 3, 4, 5]
      """
      return [i for i in list if i != item]
output:     return [i for i in list if i != item]