<qiyuangong>075_Sort_Colors_1.py
def sortColors( nums):
    count = [0] * 3
    for num in nums:
        count[num] += 1
    pos = 0
    for index in range(3):
        while count[index] > 0:
            nums[pos] = index
            pos += 1
            count[index] -= 1
    return
def sample_funcname ( var_0 ) :
    var_3 = [ 0 ] * 3
    for var_4 in var_0 :
        var_3 [ var_4 ] += 1
    var_6 = 0
    for var_8 in range ( 3 ) :
        while var_3 [ var_8 ] > 0 :
            var_0 [ var_6 ] = var_8
            var_6 += 1
            var_3 [ var_8 ] -= 1
    return
