{"provider_url":"https://hatena.blog","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","categories":["Python","30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0"],"published":"2010-02-08 00:00:00","version":"1.0","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20100208%2Fcomplex\" title=\"\u5358\u5229\u30fb\u8907\u5229\u8a08\u7b97 - \u307f\u305a\u3074\u30fc\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>","description":"30\u5206\u30d7\u30ed\u30b0\u30e9\u30e0\u3001\u305d\u306e733\u3002\u307e\u305f\u3082mixi\u304b\u3089\u3067\u3059\u3002 \u554f\u984c\u6587\u304c\u3088\u304f\u5206\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u5358\u5229\u306e\u8a08\u7b97\u3068\u8907\u5229\u306e\u8a08\u7b97\u3092\u3059\u308b\u95a2\u6570\u3092\u66f8\u3051\u3001\u3068\u7406\u89e3\u3057\u307e\u3057\u305f\u3002\u305f\u3076\u3093\u9055\u3046\u3051\u3069\u3002\u8907\u5229\u8a08\u7b97\u3092 def complex(interest, x): chain([x],complex(interest, x * (1 + interest))) \u3067\u3084\u308d\u3046\u3068\u3057\u305f\u3089\u3001complex\u306e\u547c\u3073\u51fa\u3057\u304c\u6b62\u307e\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002 complex\u306e\u547c\u3073\u51fa\u3057\u3092\u9045\u5ef6\u3057\u305f\u3044\u3093\u3060\u3051\u3069\u3001\u3069\u3046\u3057\u305f\u3089\u3044\u3044\u3093\u3060\u308d\u3046\u3002\u524d\u3082\u540c\u3058\u3088\u3046\u306a\u3053\u3068\u3067\u60a9\u3093\u3067\u3001\u7d50\u5c40\u3042\u304d\u3089\u3081\u305f\u6c17\u304c\u3059\u308b\u3002 \u4f7f\u3044\u65b9 print take(10,simple(0.1,100)) # => [100\u2026","height":"190","blog_url":"https://mzp.hatenadiary.org/","provider_name":"Hatena Blog","image_url":null,"width":"100%","type":"rich","title":"\u5358\u5229\u30fb\u8907\u5229\u8a08\u7b97","url":"https://mzp.hatenadiary.org/entry/20100208/complex","author_name":"mzp","author_url":"https://blog.hatena.ne.jp/mzp/"}