comefrom: <garvit244>60_1.py
code: def permute(nums):
      if len(nums) == 0:
          return []
      if len(nums) == 1:
          return [nums]
      
      result = []
      for index in range(len(nums)):
          for p in permute(nums[0:index] + nums[index+1:]):
              result.append([nums[index]] + p)
      
      return result
masked: def sample_funcname ( var_1 ) :
      if len ( var_1 ) == 0 :
          return [ ]
      if len ( var_1 ) == 1 :
          return [ var_1 ]
      var_5 = [ ]
      for var_7 in range ( len ( var_1 ) ) :
          for var_8 in var_0 ( var_1 [ 0 : var_7 ] + var_1 [ var_7 + 1 : ] ) :
              var_5.append ( [ var_1 [ var_7 ] ] + var_8 )
      return var_5
  