comefrom: <qiyuangong>280_Wiggle_Sort_3.py
code: def wiggleSort( nums):
      less = True
      for i in range(len(nums) - 1):
          if less:
              if nums[i] > nums[i + 1]:
                  nums[i], nums[i + 1] = nums[i + 1], nums[i]
          else:
              if nums[i] < nums[i + 1]:
                  nums[i], nums[i + 1] = nums[i + 1], nums[i]
          less = not less
masked: def sample_funcname ( var_0 ) :
      var_2 = True
      for var_6 in range ( len ( var_0 ) - 1 ) :
          if var_2 :
              if var_0 [ var_6 ] > var_0 [ var_6 + 1 ] :
                  var_0 [ var_6 ] , var_0 [ var_6 + 1 ] = var_0 [ var_6 + 1 ] , var_0 [ var_6 ]
          else :
              if var_0 [ var_6 ] < var_0 [ var_6 + 1 ] :
                  var_0 [ var_6 ] , var_0 [ var_6 + 1 ] = var_0 [ var_6 + 1 ] , var_0 [ var_6 ]
          var_2 = not var_2
  