comefrom: <qiyuangong>075_Sort_Colors_2.py
code: def sortColors( nums):
      low, mid, high = 0, 0, len(nums) - 1
      while mid <= high:
          if nums[mid] == 0:
              nums[low], nums[mid] = nums[mid], nums[low]
              low += 1
              mid += 1
          elif nums[mid] == 1:
              mid += 1
          else:
              nums[high], nums[mid] = nums[mid], nums[high]
              high -= 1
      return
masked: def sample_funcname ( var_0 ) :
      var_2 , var_3 , var_6 = 0 , 0 , len ( var_0 ) - 1
      while var_3 <= var_6 :
          if var_0 [ var_3 ] == 0 :
              var_0 [ var_2 ] , var_0 [ var_3 ] = var_0 [ var_3 ] , var_0 [ var_2 ]
              var_2 += 1
              var_3 += 1
          elif var_0 [ var_3 ] == 1 :
              var_3 += 1
          else :
              var_0 [ var_6 ] , var_0 [ var_3 ] = var_0 [ var_3 ] , var_0 [ var_6 ]
              var_6 -= 1
      return
  