comefrom: <qiyuangong>280_Wiggle_Sort_4.py
code: def wiggleSort( nums):
      for i in range(len(nums) - 1):
          if (i % 2 == 0 and nums[i] > nums[i + 1]) or\
             (i % 2 == 1 and nums[i] < nums[i + 1]):
              nums[i], nums[i + 1] = nums[i + 1], nums[i]
masked: def sample_funcname ( var_0 ) :
      for var_4 in range ( len ( var_0 ) - 1 ) :
          if ( var_4 % 2 == 0 and var_0 [ var_4 ] > var_0 [ var_4 + 1 ] ) or ( var_4 % 2 == 1 and var_0 [ var_4 ] < var_0 [ var_4 + 1 ] ) :
              var_0 [ var_4 ] , var_0 [ var_4 + 1 ] = var_0 [ var_4 + 1 ] , var_0 [ var_4 ]
  