{"type":"rich","blog_url":"https://mzp.hatenadiary.org/","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e780\u3002anarchy golf - slope lines\u306b\u30a4\u30f3\u30b9\u30d1\u30a4\u30a2\u3055\u308c\u307e\u3057\u305f\u3002 xs.reverse()\u306f\u7834\u58ca\u7684\u306a\u64cd\u4f5c\u306a\u306e\u3067\u3050\u3093\u3093\u3088\u308a\u3067\u3059\u3051\u3069\u3001reversed(xs)\u306f\u53cd\u8ee2\u3057\u305f\u30a4\u30c6\u30ec\u30fc\u30bf\u3092\u8fd4\u3057\u3066\u304f\u308c\u308b\u306e\u3067\u3044\u3044\u611f\u3058\u3067\u3059\u3002 \u4f7f\u3044\u65b9 $ python slope-line.py hello o l l e h \u30bd\u30fc\u30b9\u30b3\u30fc\u30c9 #! /usr/bin/python # -*- mode:python; coding:utf-8 -*- import sys def slope(s): n = len(s) return \"\\n\".join(reversed(map(lam\u2026","published":"2010-07-05 00:00:00","provider_url":"https://hatena.blog","version":"1.0","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100705%2Fslope\" title=\"\u6587\u5b57\u5217\u3092\u659c\u3081\u306b\u8868\u793a\u3059\u308b - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","author_url":"https://blog.hatena.ne.jp/mzp/","title":"\u6587\u5b57\u5217\u3092\u659c\u3081\u306b\u8868\u793a\u3059\u308b","url":"https://mzp.hatenadiary.org/entry/20100705/slope","image_url":null,"blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","height":"190","categories":["Python","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"author_name":"mzp"}