{"author_name":"shigemk2","author_url":"https://blog.hatena.ne.jp/shigemk2/","type":"rich","description":"07-190820.py # -*- coding: euc-jp -*-\" # \u30ea\u30b9\u30c8\u3092\u64cd\u4f5c\u3059\u308b\u30b3\u30fc\u30c9\u3092\u30eb\u30fc\u30d7\u3054\u3068\u306b\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u4e0a\u3067\u51e6\u7406\u3057\u3066\u3044\u308b # \u30ab\u30a6\u30f3\u30bf\u306e\u64cd\u4f5c\u3082\u30eb\u30fc\u30d7\u3054\u3068\u306b\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u4e0a\u3067\u51e6\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b size = 10 L = [] i = 0 while i < size: if i % 2 == 0 and i != 4: L.append(i) i += 1 print L # [0, 2, 6, 8] # \u305d\u3053\u3067\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18 # \u30b3\u30fc\u30c9\u306e\u53ef\u8aad\u6027\u304c\u4e0a\u304c\u308a\u3001\u30d0\u30b0\u3092\u6e1b\u3089\u3059 print [i for i in range(10) if i % 2 == 0 and i != \u2026","image_url":null,"published":"2013-07-07 19:28:01","categories":["\u8aad\u66f8\u30ce\u30fc\u30c8"],"height":"190","provider_name":"Hatena Blog","blog_url":"https://www.shigemk2.com/","version":"1.0","width":"100%","provider_url":"https://hatena.blog","url":"https://www.shigemk2.com/entry/20130707/1373192881","blog_title":"by shigemk2","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F20130707%2F1373192881\" title=\"\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u5185\u5305\u8868\u8a18 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"\u30a8\u30ad\u30b9\u30d1\u30fc\u30c8Python\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0 \u5185\u5305\u8868\u8a18"}