{"provider_url":"https://hatena.blog","blog_url":"https://kerorosho-tai.hatenadiary.jp/","description":"\u5185\u5305\u8868\u8a18\u6761\u4ef6\u5f0f\u306f\u8272\u3005\u3067\u304d\u308b \u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u3044\u3046\u306e\u306f\u4fbf\u5229\u3067\u3001for\u6587\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u6b21\u306e\u3088\u3046\u306a\u30ea\u30b9\u30c8\u304c\u4f5c\u308c\u307e\u3059\u3002 >>> a = [2*x for x in range(5)] >>> a [0, 2, 4, 6, 8] \u6761\u4ef6\u5f0f\u3092\u52a0\u3048\u3066\u3082\u540c\u69d8\u306e\u6a5f\u80fd\u304c\u5f97\u3089\u308c\u307e\u3059\u3002 >>> a = [x for x in range(5) if x%2 == 0] >>> a [0, 2, 4] \u6b21\u306e\u3088\u3046\u306b\u66f8\u304f\u3068\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u304c\u3001 >>> a = [x if x%2 == 0 for x in range(5)] SyntaxError: invalid syntax \u3067\u3082\u3001else\u3067\u843d\u3068\u3057\u3069\u3053\u308d\u3092\u7528\u610f\u3057\u3066\u3042\u3052\u308b\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkerorosho-tai.hatenadiary.jp%2Fentry%2F2014%2F06%2F22%2F033532\" title=\"\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u6761\u4ef6\u5f0f - \u305f\u3051\u306e\u3053\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","type":"rich","url":"https://kerorosho-tai.hatenadiary.jp/entry/2014/06/22/033532","author_name":"kerorosho-tai","published":"2014-06-22 03:35:32","provider_name":"Hatena Blog","height":"190","blog_title":"\u305f\u3051\u306e\u3053","image_url":null,"title":"\u30ea\u30b9\u30c8\u5185\u5305\u8868\u8a18\u3068\u6761\u4ef6\u5f0f","author_url":"https://blog.hatena.ne.jp/kerorosho-tai/","categories":[],"version":"1.0"}