{"blog_url":"https://yumimue.hatenadiary.org/","provider_name":"Hatena Blog","published":"2007-12-17 01:58:20","author_name":"yumimue","version":"1.0","categories":["python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyumimue.hatenadiary.org%2Fentry%2F20071217%2F1197910700\" title=\"\u30ea\u30b9\u30c8\u3068\u30bf\u30d7\u30eb\u3068\u4e26\u3073\u66ff\u3048 - \u3072\u304d\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/yumimue/","description":"\u5143\u306e\u30ea\u30b9\u30c8\u3092\u4e26\u3073\u66ff\u3048\u308b >>> arr = [3, 1, 5, 2, 4] >>> arr.sort() # \u6607\u9806\u306b\u4e26\u3073\u66ff\u3048 >>> arr [1, 2, 3, 4, 5] >>> arr = [3, 1, 5, 2, 4] >>> arr.reverse() # \u9006\u9806\u306b\u4e26\u3073\u66ff\u3048 >>> arr [4, 2, 5, 1, 3] \u3053\u308c\u3089\u306f\u30ea\u30b9\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u30e1\u30bd\u30c3\u30c9\u306a\u306e\u3067\u3001\u30bf\u30d7\u30eb\u306b\u306f\u4f7f\u3048\u307e\u305b\u3093\u3002 \u65b0\u3057\u3044\u30ea\u30b9\u30c8\u3092\u4f5c\u3063\u3066\u4e26\u3073\u66ff\u3048\u308b sorted( )\u3001reversed( )\u306f\u30ea\u30b9\u30c8\u3001\u30bf\u30d7\u30eb\u3001\u30a4\u30c6\u30ec\u30fc\u30bf\u304b\u3089\u65b0\u3057\u3044\u30ea\u30b9\u30c8\u3092\u4f5c\u308a\u307e\u3059\u3002 >>> arr = (3, 1, 5, 2, 4) >>> sorte\u2026","width":"100%","type":"rich","blog_title":"\u3072\u304d\u30e1\u30e2","url":"https://yumimue.hatenadiary.org/entry/20071217/1197910700","height":"190","title":"\u30ea\u30b9\u30c8\u3068\u30bf\u30d7\u30eb\u3068\u4e26\u3073\u66ff\u3048","image_url":null}