{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20140210%2F1392046138\" title=\"\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u3066\u30ea\u30b9\u30c8(\u30b9\u30e9\u30a4\u30b9)\u306e\u5024\u3092\u524a\u9664\u3059\u308b - \u30e1\u30e2\u7f6e\u304d\u5834\" 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","golang","memo"],"url":"https://y0m0r.hateblo.jp/entry/20140210/1392046138","type":"rich","blog_url":"https://y0m0r.hateblo.jp/","provider_name":"Hatena Blog","title":"\u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u3066\u30ea\u30b9\u30c8(\u30b9\u30e9\u30a4\u30b9)\u306e\u5024\u3092\u524a\u9664\u3059\u308b","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","provider_url":"https://hatena.blog","height":"190","version":"1.0","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","published":"2014-02-10 00:28:58","description":"python\u3067[]\u3092\u4ee3\u5165\u3059\u308b\u66f8\u304d\u65b9\u304c\u3042\u308b\u3063\u3066\u77e5\u3089\u306a\u304b\u3063\u305f\u3002 # coding=utf-8 l = [i for i in range(0, 10)] assert l == [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] # \u7bc4\u56f2\u3092\u6307\u5b9a\u3057\u3066\u5024\u3092\u524a\u9664 # del [2:4] l[2:4] = [] assert l == [0, 1, 4, 5, 6, 7, 8, 9] go\u306e\u30b9\u30e9\u30a4\u30b9\u3060\u3068\u3053\u3046\u66f8\u304f\u306e\u304c\u3044\u3044\u307f\u305f\u3044 package main import \"fmt\" func main() { l := []int{0, 1, 2, 3, 4, 5, 6, 7, 8, 9} l = a\u2026","width":"100%","image_url":null,"author_name":"yuheiomori0718"}