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