comefrom: <qiyuangong>078_Subsets_2.py
code: def subsets( nums):
      nums.sort()
      res = [[]]
      for index in range(len(nums)):
          size = len(res)
          for j in range(size):
              curr = list(res[j])
              curr.append(nums[index])
              res.append(curr)
      return res
masked: def sample_funcname ( var_0 ) :
      var_0.sort ( )
      var_2 = [ [ ] ]
      for var_5 in range ( len ( var_0 ) ) :
          var_6 = len ( var_2 )
          for var_7 in range ( var_6 ) :
              var_9 = list ( var_2 [ var_7 ] )
              var_9.append ( var_0 [ var_5 ] )
              var_2.append ( var_9 )
      return var_2
  