match/search dict keys in elements of a list
<p>I have a dictionary, </p>

<pre><code>dct = {'slab1': {'name':'myn1', 'age':20}, 'slab2':{'name':'myn2','age':200}}
lst = {'/store/dir1/dir_slab1/tindy', '/store/dir2/dirslab2_fine/tunka','/store/dir1/dirslab3/lunku'}
</code></pre>

<p>How can I search for 'slab1', 'slab2' which are the keys of the dictionary in the list elements ? If there is a match, I would like to print the matched element and the 'age' from the dictionary. So, in the above example, I should get something like :</p>

<pre><code>  '/store/dir1/dir_slab1/tindy', 20
  '/store/dir2/dirslab2_fine/tunka', 200
</code></pre>

<p>Thanks for any suggestion</p>
