input: 
  def remove_item(list, item):
      """Removes all occurrences of a specified item from a list.
      >>> remove_item([1, 2, 3, 4, 2, 5, 2], 2)
      [1, 3, 4, 5]
      >>> remove_item(['a', 'b', 'c', 'b', 'd'], 'b')
      ['a', 'c', 'd']
      """
      return [i for i in list if i != item]
  
output:     return [i for i in list if i != item]