':type nums: List[int]
:rtype: void Do not return anything, modify nums in-place instead.'

def moveZeroes(self, nums):

    pos = 0
    for i in xrange(len(nums)):
        if nums[i]:
            nums[pos] = nums[i]
            pos += 1
    for i in xrange(pos, len(nums)):
        nums[i] = 0
