{"height":"190","title":"0\u304b\u30891000\u307e\u3067\u306e0\u306e\u6570\u3092\u6570\u3048\u308b","url":"https://tnakamura.hatenablog.com/entry/20100723/count_zero_char","published":"2010-07-23 00:00:00","blog_url":"https://tnakamura.hatenablog.com/","type":"rich","description":"\u308f\u3093\u304f\u307e\u5185\u3067\u30d7\u30c1\u796d\u308a\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u53c2\u6226\u3002\u51fa\u9045\u308c\u305f\u611f\u306f\u5426\u3081\u306a\u3044\u3051\u3069\u3001\u6c17\u306b\u3057\u305f\u3089\u8ca0\u3051\u304b\u306a\u3001\u3068\u3002C# \u306f\u51fa\u5c3d\u304f\u3057\u305f\u3063\u307d\u3044\u306e\u3067\u3001Python \u3067\u6311\u6226\u3002\u30ea\u30b9\u30c8\u5185\u6cd5\u8868\u8a18\u3092\u4f7f\u3063\u3066\u5909\u614b\u30c1\u30c3\u30af\u306b\u66f8\u3044\u3066\u307f\u305f\u3002 print(sum([str(n).count('0') for n in range(0, 1001)])) #=> 193","blog_title":"present","width":"100%","provider_url":"https://hatena.blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/griefworker/","provider_name":"Hatena Blog","author_name":"griefworker","image_url":null,"categories":["Python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftnakamura.hatenablog.com%2Fentry%2F20100723%2Fcount_zero_char\" title=\"0\u304b\u30891000\u307e\u3067\u306e0\u306e\u6570\u3092\u6570\u3048\u308b - present\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}