input: def remove_item(my_list: List[Any], item_to_remove: Any) -> List[Any]:
      """
      Removes all occurrences of a specified 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')
      ['b', 'c']
      """
      return [i for i in my_list if i != item_to_remove]
output:     return [i for i in my_list if i != item_to_remove]