input: Write a function to remove all occurrences of a specified item from a given list.
  
  def removeItem(list, item):
      # Initialization an empty list to store all non-target items
      new_list = []
      # Loop through the list
      for i in list:
          # Check if the element is the item to remove
          if i != item:
              # Append the non-target element to new_list
              new_list.append(i)
      # Return the new_list with removed items
      return new_list
  
  assert removeItem([1, 2, 3, 4, 2, 5, 2], 2) == [1, 3, 4, 5]
  assert removeItem([], 1) == []
  assert removeItem([3, 3, 3, 3, 3, 3], 3) == []
  assert removeItem([0, 0, 1, 2, 0], 0) == [1, 2]
  assert removeItem([1, 2, 3, 4, 5], 6) == [1, 2, 3, 4, 5]
output: def removeItem(list, item):
      new_list = []
      for i in list:
          if i != item:
              new_list.append(i)
      return new_list