input: from typing import List, Any
  
  def remove_item(list: List[Any], item: Any) -> List[Any]:
      """ Remove all occurrences of an item from a given list.
      >>> remove_item([1, 2, 3, 4, 2, 5, 2], 2)
      [1, 3, 4, 5]
      >>> remove_item(['a', 'b', 'a', 'c', 'a'], 'a')
      ['b', 'c']
      """
      return [x for x in list if x != item]
output:     return [x for x in list if x != item]