{"author_url":"https://blog.hatena.ne.jp/inamori/","title":"\u95a2\u6570\u306e\u30ea\u30b9\u30c8","description":"\u4f8b\u3048\u3070\u30010\u306b\u7b49\u3057\u3044\u304b\u8abf\u3079\u308b\u95a2\u6570\u3001...\u30013\u306b\u7b49\u3057\u3044\u304b\u8abf\u3079\u308b\u95a2\u6570\u3092\u30ea\u30b9\u30c8\u306b\u3057\u305f\u3044\u3068\u3057\u307e\u3059\u3002 preds = [ lambda n: n == 0, lambda n: n == 1, lambda n: n == 2, lambda n: n == 3 ] print preds[0](3) # False print preds[1](3) # False print preds[2](3) # False print preds[3](3) # True \u3053\u3046\u3059\u308c\u3070\u3082\u3061\u308d\u3093\u3044\u3044\u3067\u3059\u304c\u3001\u666e\u901a\u306e\u611f\u899a\u306a\u3089\u7d0d\u5f97\u3044\u304b\u306a\u3044\u3067\u3057\u3087\u3046\u3002\u3053\u3046\u66f8\u304f\u3068\u3053\u308d\u3067\u3059\u3088\u306d\u3002 preds = [ lambda n: n =\u2026","type":"rich","published":"2012-05-29 00:00:00","author_name":"inamori","provider_url":"https://hatena.blog","blog_title":"inamori\u2019s diary","version":"1.0","url":"https://inamori.hateblo.jp/entry/20120529/p1","categories":["Python"],"height":"190","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20120529%2Fp1\" title=\"\u95a2\u6570\u306e\u30ea\u30b9\u30c8 - inamori\u2019s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://inamori.hateblo.jp/","provider_name":"Hatena Blog","width":"100%"}