title: Python: Compare lists and combine in common fields
body: <p>I have the following two lists:</p>
  
  <pre><code>ISO3166_CountryCodes_NO = [["NO","Norge"],["SE","Sverige"],["GR","Hellas"]]
  ISO3166_CountryCodes_EN = [["NO","Norway"],["SE","Sweden"],["GR","Greece"]]
  </code></pre>
  
  <p>As you see, the country code is always the same, but the country name differs (different translations)
  How can I create one list like this:</p>
  
  <pre><code>ISO3166_CountryCodes = [["NO","Norge","Norway"],["SE","Sverige","Sweden"],["GR","Hellas","Greece"]]
  </code></pre>
  
  <p>I could do it with a for loop in the first list, and for each element I could search into the second one to find the country code which is common. Then append the translations in a new list but I feel this way is somewhat clumsy.</p>
  
  <p>Is there any better way to achieve this in Python? For example in Perl that I am more familiar with, I would use a hash table.</p>