<qiyuangong>026_Remove_Duplicates_from_Sorted_Array_2.py
def removeDuplicates( nums):
    if len(nums) == 0:
        return 0
    left = 0
    for i in range(1, len(nums)):
        if nums[left] == nums[i]:
            continue
        else:
            left += 1
            nums[left] = nums[i]
    return left + 1
def sample_funcname ( var_0 ) :
    if len ( var_0 ) == 0 :
        return 0
    var_3 = 0
    for var_6 in range ( 1 , len ( var_0 ) ) :
        if var_0 [ var_3 ] == var_0 [ var_6 ] :
            continue
        else :
            var_3 += 1
            var_0 [ var_3 ] = var_0 [ var_6 ]
    return var_3 + 1
