{"width":"100%","version":"1.0","blog_url":"https://maehrm.hatenablog.com/","description":"\u300cPython\u30a8\u30f3\u30b8\u30cb\u30a2\u80b2\u6210\u63a8\u9032\u5354\u4f1a\u76e3\u4fee Python\u5b9f\u8df5\u30ec\u30b7\u30d4 - Mae\u5411\u304d\u306a\u30d6\u30ed\u30b0\u300d\u306e\u7d9a\u304d\u3067\u3059\u3002 Chapter 6 \u30c6\u30ad\u30b9\u30c8\u306e\u51e6\u7406 join\u30e1\u30bd\u30c3\u30c9\u306b\u3064\u3044\u3066 words = '''Beautiful is better than ugly. Explicit is better than implicit.'''.split() print(words) print('-'.join(words[:5])) Ruby\u3060\u3068\u3001words[...5].join('-')\u3068\u66f8\u3044\u3066\u3044\u305f\u306e\u3067\u3001join\u30e1\u30bd\u30c3\u30c9\u306e\u4f7f\u3044\u65b9\u304c\u65b0\u9bae\u306b\u611f\u3058\u307e\u3059\u3002 Unicode\u6587\u5b57\u3068\u6587\u5b57\u306e\u540d\u524d\u306e\u5909\u63db >>> import u\u2026","author_url":"https://blog.hatena.ne.jp/rahaema/","height":"190","blog_title":"Mae\u5411\u304d\u306a\u30d6\u30ed\u30b0","url":"https://maehrm.hatenablog.com/entry/2022/05/22/185357","author_name":"rahaema","image_url":"https://m.media-amazon.com/images/I/517T6saR++L._SL500_.jpg","published":"2022-05-22 18:53:57","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmaehrm.hatenablog.com%2Fentry%2F2022%2F05%2F22%2F185357\" title=\"Python\u30a8\u30f3\u30b8\u30cb\u30a2\u80b2\u6210\u63a8\u9032\u5354\u4f1a\u76e3\u4fee Python\u5b9f\u8df5\u30ec\u30b7\u30d4(2) - Mae\u5411\u304d\u306a\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["Python","Book"],"title":"Python\u30a8\u30f3\u30b8\u30cb\u30a2\u80b2\u6210\u63a8\u9032\u5354\u4f1a\u76e3\u4fee Python\u5b9f\u8df5\u30ec\u30b7\u30d4(2)","provider_url":"https://hatena.blog","provider_name":"Hatena Blog"}