input: Write a function to remove all occurrences of a specified item from a list. The function should take two parameters: the list and the item to be removed. It should return the modified list after removing all instances of the specified item.
  
  assert removeItem([1, 2, 3, 4, 2, 5, 2], 2) == [1, 3, 4, 5]
  assert removeItem([1, 3, 4, 5], 2) == [1, 3, 4, 5]
  assert removeItem([2, 2, 2, 2], 2) == []
  assert removeItem([], 2) == []
output: def removeItem(lst, item):
      return [x for x in lst if x != item]