title: Python: map a list of tuples onto the keys of a dictionary
body: <p>Given the following list of tuples:</p>
  
  <pre><code>l=[((459301.5857207412, 443923.4365563169),
     (458772.4179957388, 446370.8372844439))]
  </code></pre>
  
  <p>And the following dictionary:</p>
  
  <pre><code>mydict={0: (459301.5857207412, 443923.4365563169),
          25: (458772.4179957388, 446370.8372844439)}
  </code></pre>
  
  <p>How could I create a new list where the tuple contains the key in <code>mydict</code> associated with the values of the tuple itself?</p>
  
  <p>The result would be, given the two examples above:</p>
  
  <pre><code>mapped=[(0,25)]
  </code></pre>