old_contents: def move_zeroes(nums):
      count = nums.count(0)
      for i in nums:
          if i == 0:
              nums.remove(i)
      nums += count * [0]
  
new_contents: def move_zeroes(nums):
      """Given a list, move all 0's to the end while maintaining the
      order of non-zero elements. Modifies the list in place.
      """
      for i in nums:
          if i == 0:
              nums.remove(i)
              nums.append(0)
  
subject: fix to account for in place deletions