{"version":"1.0","blog_title":"how to code something","author_name":"seinzumtode","blog_url":"https://seinzumtode.hatenadiary.jp/","height":"190","description":"\u7d20\u6570\u3092\u6c42\u3081\u308b\u3002 \u307e\u305a\u306f\u7d20\u6570\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3002 #! usr/bin/env python # -*- coding: utf-8 -*- #prime.py f = raw_input(\"Judge if prime number: \") a = range(2,int(f)/2+1) judge = \"prime\" for x in a: if int(f) % x == 0: judge = \"not prime\" print judge \u6b21\u306bN\u307e\u3067\u306e\u7d20\u6570\u3092\u8fd4\u3059\u30d7\u30ed\u30b0\u30e9\u30e0\u3002 #! usr/bin/env python # -*- coding: utf-8 -*- #primel\u2026","published":"2011-08-19 18:04:09","url":"https://seinzumtode.hatenadiary.jp/entry/20110819/1313744649","categories":["Python","\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0"],"width":"100%","author_url":"https://blog.hatena.ne.jp/seinzumtode/","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/s/seinzumtode/20110820/20110820103257.png","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fseinzumtode.hatenadiary.jp%2Fentry%2F20110819%2F1313744649\" title=\"\u7d20\u6570\u3092\u6c42\u3081\u308b\u3002\u30a8\u30e9\u30c8\u30b9\u30c6\u30cd\u30b9\u306e\u3075\u308b\u3044\u3000 - how to code something\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","title":"\u7d20\u6570\u3092\u6c42\u3081\u308b\u3002\u30a8\u30e9\u30c8\u30b9\u30c6\u30cd\u30b9\u306e\u3075\u308b\u3044\u3000","type":"rich","provider_url":"https://hatena.blog"}