{"image_url":null,"blog_url":"https://yohhoy.hatenadiary.jp/","height":"190","title":"\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u5909\u6570\u30b9\u30b3\u30fc\u30d7","provider_name":"Hatena Blog","blog_title":"yohhoy\u306e\u65e5\u8a18","url":"https://yohhoy.hatenadiary.jp/entry/20120502/p1","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9ePython\u306b\u304a\u3051\u308b\u30ea\u30b9\u30c8\u306e\u5185\u5305\u8868\u8a18\u3068\u5909\u6570\u30b9\u30b3\u30fc\u30d7\u306e\u95a2\u4fc2\u306b\u3064\u3044\u3066\u30e1\u30e2\u3002 x = 42 a = [x for x in range(1,10)] print(x) Python 2.x\u7cfb: 9 2020-01-01\u3092\u3082\u3063\u3066 Python2\u306fEOL Python 3.x\u7cfb: 42 In Python 2.3 and later releases, a list comprehension \"leaks\" the control variables of each for it contains into the containing scope. However, this be\u2026","type":"rich","version":"1.0","author_url":"https://blog.hatena.ne.jp/yohhoy/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20120502%2Fp1\" title=\"\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u5909\u6570\u30b9\u30b3\u30fc\u30d7 - yohhoy\u306e\u65e5\u8a18\" 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"],"published":"2012-05-02 00:00:00","provider_url":"https://hatena.blog","author_name":"yohhoy","width":"100%"}