Find biggest value in a python dict

<p>I have a python dict like below:</p><pre><br /><code>{ '1': {'a': '0.6', 'b': '0.8', 'c': '2','d': '0.5'},<br /> '2': {'a': '0.7', 'b': '0.9', 'c': '0.1','d': '0.2'},<br /> '3': {'a': '0.5', 'b': '0.8', 'c': '3'},<br />}<br /></code><br /></pre><p>How could I get the following result?</p><pre><br /><code>('2','a','0.7') ('2',b','0.9') ('3','c', '3') ('1','d', '0.5')<br /></code><br /></pre><br /><h2>Click here view more answers <a href="%20http://stackoverflow.com/questions/34525612/find-biggest-value-in-a-python-dict">http://ift.tt/1Vpgqxl</a></h2>

Nhận xét

Bài đăng phổ biến từ blog này

Align div to bottom of the page in bootstrap

Align elements inside an tag vertically

Javascript is unable to stop page loading