{"version":"1.0","image_url":null,"title":"python\u3067\u518d\u5e30\u3092\u3084\u3063\u3066\u307f\u308b","provider_url":"https://hatena.blog","published":"2018-01-30 16:03:37","url":"https://yuji0602.hatenablog.jp/entry/2018/01/30/160337","blog_title":"yuji0602\u2019s blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuji0602.hatenablog.jp%2Fentry%2F2018%2F01%2F30%2F160337\" title=\"python\u3067\u518d\u5e30\u3092\u3084\u3063\u3066\u307f\u308b - yuji0602\u2019s blog\" 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://yuji0602.hatenablog.jp/","width":"100%","type":"rich","author_name":"yuji0602","height":"190","author_url":"https://blog.hatena.ne.jp/yuji0602/","description":"\u307e\u3060\u307e\u3060python\u521d\u5fc3\u8005\u3067\u3059\u3002 recursion.py\u307f\u305f\u3044\u306a\u540d\u524d\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u518d\u5e30\u3092\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u3068\u308a\u3042\u3048\u305a\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3001\u30e1\u30e2\u3068\u3057\u3066\u6b8b\u3057\u3066\u304a\u3053\u3046\u3002 import time def recursion_func(sec=0, start=0): if start == 0: start = time.time() elapsed_time = time.time() - start print('elapsed_time: {}'.format(elapsed_time)) if elapsed_time > sec: print('\u7d42\u308f\u308a\u3060\u3088\uff01') return time.sleep\u2026","categories":[],"provider_name":"Hatena Blog"}