{"image_url":null,"version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fitouhiro.hatenablog.com%2Fentry%2F20110702\" title=\"Python2\u3092\u5b66\u3076(3) \u30ea\u30b9\u30c8 - itouhiro\u306f\u3066\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>","provider_url":"https://hatena.blog","width":"100%","url":"https://itouhiro.hatenablog.com/entry/20110702","author_name":"itouhiro","height":"190","provider_name":"Hatena Blog","description":"Python2\u3092\u5b66\u3076(3) \u30ea\u30b9\u30c8Python\u306e\u30ea\u30b9\u30c8\uff08\u914d\u5217\uff09\u5b66\u3093\u3060\u3089\u304b\u306a\u308a\u3059\u3054\u3044\u304b\u3082\u3002 \u306a\u306b\u304c\u3059\u3054\u3044\u306e\u3055\u3002 \u81ea\u7531\u5ea6\u304c\u3002PHP\u3067\u306f a = ['a', 'b', 1]; a[] = 'd'; vardump(a); \u3053\u308c\u3067 \u914d\u5217\u304c a, b, 1, d \u306b\u306a\u3063\u305f\u3093\u3060\u3002\u540c\u3058\u3088\u3046\u306a\u3053\u3068\u304cPython\u3067\u3067\u304d\u306a\u3044\u304b\u3068\u601d\u3063\u305f\u3002 Python\u3060\u3068 a = ['a', 'b', 1]; a.append('d') print(a) \u307e\u305f\u306f a = ['a', 'b', 1]; a += ['d'] print(a) \u3067 \u3044\u3051\u307e\u3059\u305e\u3002 b = a[1:-1] + ['beaf', 'egg', 'spam']\u2026","published":"2011-07-02 00:00:00","blog_title":"itouhiro\u306f\u3066\u306a\u30d6\u30ed\u30b0","categories":["Python"],"author_url":"https://blog.hatena.ne.jp/itouhiro/","title":"Python2\u3092\u5b66\u3076(3) \u30ea\u30b9\u30c8","blog_url":"https://itouhiro.hatenablog.com/","type":"rich"}