title: How to append information from a list that is not in the current loop
body: <p>I am searching for matchin entries in two lists and when i find a match i want to append some information from one list and some from another to a new list.</p>
  
  <pre><code>## Product list
  ta_prod = []
  
  prod = open("products.txt", "r")
  for line2 in prod:
      row2 = line2.split(",")
      ta_prod.append(row2[4])
  
  
  ## Producs Ordered
  supne = []
  ta_prodord = []
  prodord = open("products_ordered.txt", "r")
  for line in prodord:
      row = line.split(",")
      prodordnavn = re.sub('"',"",row[1])
      ta_prodord.append(prodordnavn)
      if prodordnavn in ta_prod:
          supne.append([row[0],row[1],row[2],row2[11]]) 
  </code></pre>
  
  <p>My problem is with the "row2[11]" argument. It gives the same entry everytime, and not the entry linked with the match. </p>
  
  <p>To be clear, where i write "row2[11]" i want to append the entry in collumn 11 (counting from 0) that is on the same row as the match found just above.</p>