{"url":"https://puroguradesu.hatenadiary.jp/entry/2023/02/02/130213","provider_name":"Hatena Blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpuroguradesu.hatenadiary.jp%2Fentry%2F2023%2F02%2F02%2F130213\" title=\"\u901f\u7fd2Python\uff1a\u30c7\u30fc\u30bf\u69cb\u9020 - PUROGU LADESU\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"PUROGU LADESU","author_url":"https://blog.hatena.ne.jp/memorude/","type":"rich","image_url":null,"author_name":"memorude","title":"\u901f\u7fd2Python\uff1a\u30c7\u30fc\u30bf\u69cb\u9020","provider_url":"https://hatena.blog","published":"2023-02-02 13:02:13","blog_url":"https://puroguradesu.hatenadiary.jp/","version":"1.0","height":"190","description":"\u30ea\u30b9\u30c8\uff08\u914d\u5217\uff09 list li = [5, 11, 40, 6, 55, 2, 7] li[-1] #\u6700\u5f8c\u5c3e li[2] #3\u756a\u76ee li[:2] #0-3\u756a\u76ee\u306e\u624b\u524d\u307e\u3067 li[:] #\u5168\u90e8 len(li)list('abcde') \u3067\u6587\u5b57\u5217\u3092\u30ea\u30b9\u30c8\u306b\u5909\u63dbli[::2] #\u5168\u90e8\u3092\u4e00\u3064\u98db\u3070\u3057\u3067\u53d6\u308a\u51fa\u3057 li[::-1] #\u5168\u90e8\u3092\u9006\u9806\u3067\u53d6\u308a\u51fa\u3057 \u30ea\u30b9\u30c8\u306e\u64cd\u4f5c li[2] = 30 li[2:4] = [3, 4]li.append(100) li.insert(0, 200) li.pop() # \u6700\u5f8c\u5c3e\u3092\u53d6\u308a\u51fa\u3057\u3066\u524a\u9664 li.pop(0) # \u5148\u982d\u3092\u53d6\u308a\u51fa\u3057\u3066\u524a\u9664 li.pop(1) # \u6307\u5b9a\u3092\u53d6\u2026","categories":["Python"]}