{"provider_name":"Hatena Blog","categories":["Python","\u968f\u6642\u66f4\u65b0"],"version":"1.0","author_name":"wannabe-jellyfish","title":" Python\u306eMy\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8(\u968f\u6642\u66f4\u65b0)","image_url":null,"provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/wannabe-jellyfish/","type":"rich","height":"190","url":"https://memory-lovers.blog/entry/2017/04/21/004815","blog_title":"\u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2017%2F04%2F21%2F004815\" title=\" Python\u306eMy\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8(\u968f\u6642\u66f4\u65b0) - \u304f\u3089\u3052\u306b\u306a\u308a\u305f\u3044\u3002\" 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%","published":"2017-04-21 00:48:15","description":"Python\u3067\u3088\u304f\u8abf\u3079\u306a\u304a\u3059\u306e\u3067\u3001\u500b\u4eba\u7684\u306a\u30c1\u30fc\u30c8\u30b7\u30fc\u30c8 map, filter items = [1, 2, 3] map(lambda n:n+20, items) # => [21, 22, 23] [x+20 for x in items] # => [21, 22, 23] filter(lambda n:n%2==1, items) # => [1, 3] [x for x in items if x%2==1] # => [1, 3] ref: map, reduce, filter\u306b\u3088\u308b\u30b7\u30fc\u30b1\u30f3\u30b9\u64cd\u4f5c | Python Snippets \u6587\u5b57\u5217 \u30d5\u30a9\u30fc\u30de\u30c3\u30c8 num =5 \"{0\u2026","blog_url":"https://memory-lovers.blog/"}