input: def remove_item(lst: list, item: any) -> list:
      """
      Remove all occurrences of the specified item from the list.
  
      >>> remove_item([1, 2, 3, 4, 2, 5, 2], 2)
      [1, 3, 4, 5]
      """
output:     while item in lst:
          lst.remove(item)
      return lst