title: Redefine items in generated combinations from one list into terms of another list whose items are positionally linked
body: <p>The list of values in the list <code>stuff</code> are the key or correspond to words in the list <code>words</code>.</p>
  
  <pre><code>stuff = [10170028,1,51,5,2,2,14,1,10,2,5,1,1]
  words =['AGGGG','AUDIT + PARK','AUDIT + PENDING','AUDIT + QUOTE_CREATED'',AUDIT + QUOTE_DELETED',
           'AUDIT + QUOTE_REJECTED','AUDIT + QUOTE_UPDATED','AUDIT + RFQ_DELETED',
           'LIVE','PENDING','QUOTE_CREATED','REJECT','RFQ_DELETED']
  </code></pre>
  
  <p>All items in <code>stuff</code> are uniquely linked to an item in <code>words</code> by position, for instance <code>1</code> at <code>index 1</code> is linked to <code>AUDIT + PARK</code>, and <code>1</code> at <code>index 7</code> is linked to <code>LIVE</code></p>
  
  <p>I then use <code>itertools</code> to get each unique list that equals a specific sum:</p>
  
  <pre><code>new = []
  for L in range(0, len(stuff)+1):
      for subset in itertools.combinations(stuff, L):
          if sum(subset) == 10170090:
              new.append(subset)
  for x in new:
      print(x)
  </code></pre>
  
  <p>My <code>new</code> list consists of combinations</p>
  
  <pre><code>[(10170028, 1, 51, 10), (10170028, 51, 1, 10),...(10170028, 1, 51, 2, 1, 5, 1, 1), (10170028, 1, 51, 1, 2, 5, 1, 1)]  
  </code></pre>
  
  <p>I need to convert each item in these sublists to the item they are linked to in <code>words</code></p>