<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoshiyoshifujii</author_name>
  <author_url>https://blog.hatena.ne.jp/yoshiyoshifujii/</author_url>
  <blog_title>毎日Learning</blog_title>
  <blog_url>https://yoshiyoshifujii.hatenablog.com/</blog_url>
  <categories>
    <anon>Python</anon>
  </categories>
  <description>こちら Pythonの辞書(dict型)をvalue値でソート - プログラミング工場 / Python を見て、個人的にメモとして転写させていただく。辞書のキーや値でソートして出力する方法。 &gt;&gt;&gt; d = {'A':500, 'B':200, 'C':300, 'D':100, 'E':400} &gt;&gt;&gt; for k, v in sorted(d.items()): ... print k, v A 500 B 200 C 300 D 100 E 400 と、キーでソートされてる。で、今回知りたかった値のほう。ちょっと簡単で感動した。 &gt;&gt;&gt; for k, v in sorted(d.ite…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshiyoshifujii.hatenablog.com%2Fentry%2F20101015%2Fp1&quot; title=&quot;Pythonの辞書をvalue値でソートする方法 - 毎日Learning&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2010-10-15 00:00:00</published>
  <title>Pythonの辞書をvalue値でソートする方法</title>
  <type>rich</type>
  <url>https://yoshiyoshifujii.hatenablog.com/entry/20101015/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
