title: Python - iterating through a list of integers
body: <p>I have a dictionary containing keys that have values containing values such as "13896615011", "330405011", and some can contain multiple value like so: (3012292011, 1292123011) </p>
  
  <p>I am running through a list of possible keys, where i say: </p>
  
  <pre><code>for x in list: 
     if (x in dict):
        found_match = dict.get(x)
        print(found_match)
  </code></pre>
  
  <p>And this gives me these values: </p>
  
  <p>[13896615011]</p>
  
  <p>[330405011]</p>
  
  <p>[3012292011, 1292123011]</p>
  
  <p>[2476681011]</p>
  
  <p>[172450, 3109930011] </p>
  
  <p>and so on. </p>
  
  <p>Now, I have another dictionary that uses the values printed out above as keys, but when I use a for loop to read through each value, it gives me each integer separately like so: </p>
  
  <pre><code>for value in found_match:
     print(value)
  </code></pre>
  
  <p>And it would return, for the first value,</p>
  
  <p>1</p>
  
  <p>3</p>
  
  <p>8</p>
  
  <p>9 </p>
  
  <p>and so on, for all values in the list. The reason I want to iterate through found_match is because there can be two values and not just one. I want to append all the possible values returned from my second dictionary that uses the values (e.g 13896615011) as keys- so I can map the values to my first dictionary's original key. </p>
  
  <p>How can I achieve this?</p>