{"type":"rich","title":"python\u3067\u8f9e\u66f8\u3092\u5024\u3067\u4e26\u3079\u66ff\u3048\u308b","description":"# coding=utf-8 d = {'john': 22, 'ringo': 22, 'paul': 20, 'george': 19} # \u6607\u9806 assert sorted(d.items(), key=lambda x: x[1]) \\ == [('george', 19), ('paul', 20), ('ringo', 22), ('john', 22)] # \u964d\u9806 assert sorted(d.items(), key=lambda x: x[1], reverse=True) \\ == [('ringo', 22), ('john', 22), ('paul', 20), (\u2026","image_url":null,"categories":["python"],"url":"https://y0m0r.hateblo.jp/entry/20140207/1391787212","version":"1.0","blog_url":"https://y0m0r.hateblo.jp/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","height":"190","author_name":"yuheiomori0718","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20140207%2F1391787212\" title=\"python\u3067\u8f9e\u66f8\u3092\u5024\u3067\u4e26\u3079\u66ff\u3048\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2014-02-07 00:33:32"}