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