<span>Hi all,<br><br>If I have a list with key/value pair, how do I get the value of the key?</span><br><br>I'm working with this code snippet:<br><br>>>> items = {'fees':[('status','pending'), ('timeout',60)], 'hostel':[('status',<br>

 'pending'), ('timeout','120')]}<br>>>> print [items[i] for i in items.keys()]<br>[[('status', 'pending'), ('timeout', '120')], [('status', 'pending'), ('timeout'<br>

, 60)]]<br>>>><br clear="all"><br>-- <br>Odeyemi 'Kayode O.<br><a href="http://www.sinati.com" target="_blank">http://www.sinati.com</a>. t: @charyorde<br><br>