{"height":"190","author_name":"chakenji106","blog_url":"https://chakenji106.hatenablog.jp/","categories":[],"type":"rich","title":"\u3010Python\u3011\u30ea\u30b9\u30c8\u306e\u64cd\u4f5c","provider_name":"Hatena Blog","version":"1.0","blog_title":"\u3061\u3083\u3051\u3093\u3058\u30d6\u30ed\u30b0","author_url":"https://blog.hatena.ne.jp/chakenji106/","image_url":null,"width":"100%","url":"https://chakenji106.hatenablog.jp/entry/2022/05/24/181726","published":"2022-05-24 18:17:26","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchakenji106.hatenablog.jp%2Fentry%2F2022%2F05%2F24%2F181726\" title=\"\u3010Python\u3011\u30ea\u30b9\u30c8\u306e\u64cd\u4f5c - \u3061\u3083\u3051\u3093\u3058\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>","description":"Python\u306e\u30ea\u30b9\u30c8\u64cd\u4f5c\u306e\u500b\u4eba\u7684\u306a\u30e1\u30e2\u3067\u3059\u3002 \u30ea\u30b9\u30c8\u306e\u64cd\u4f5c a = [1,2,3] a\u306f\u30ea\u30b9\u30c8 a.append(4) \u30ea\u30b9\u30c8a\u306e\u6700\u5f8c\u306b4\u3092\u8ffd\u52a0\u3059\u308ba.extend([6,7]) \u30ea\u30b9\u30c8a\u306e\u6700\u5f8c\u306b\u30ea\u30b9\u30c8[6,7]\u3092\u8ffd\u52a0\u3059\u308ba.insert(0, 10) \u30a4\u30f3\u30c7\u30c3\u30af\u30b90\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c810\u3092\u8ffd\u52a0\u3059\u308ba.remove(10) \u30ea\u30b9\u30c8a\u304b\u308910\u304c\u6d88\u3048\u308b \u3082\u305710\u304c\u8907\u6570\u3042\u308b\u5834\u5408\u306f\u3001\u4e00\u756a\u6700\u521d\u306e10\u3060\u3051\u304c\u6d88\u3048\u308ba.pop(0) \u4e00\u756a\u6700\u521d\uff08\u8981\u7d20\u756a\u53f70\uff09\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u308a\u51fa\u3057\u3066\u524a\u9664\u3059\u308b a.pop()\u306fa.pop(-1)\u3068\u540c\u3058a.clear() \u5f15\u6570\u306a\u3057a.copy() \u5f15\u6570\u306a\u3057 b = a.copy()a.ind\u2026","provider_url":"https://hatena.blog"}