{"version":"1.0","type":"rich","categories":["programming","python"],"provider_url":"https://hatena.blog","description":"\u95a2\u6570\u306e\u5b9a\u7fa9\u3068\u547c\u3073\u51fa\u3057 \u95a2\u6570\u306fdef \u95a2\u6570\u540d(\u5f15\u6570)\u3068\u3044\u3046\u5f62\u3067\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u623b\u308a\u5024\u306f\u95a2\u6570\u5185\u3067return\u6587\u3092\u4f7f\u3063\u3066\u8a18\u8ff0\u3057\u307e\u3059\u3002 def function( str ): print str return 0 \u5b9a\u7fa9\u3057\u305f\u95a2\u6570\u306f\u6b21\u306e\u3088\u3046\u306b\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 function(\"Hello\") \u30e2\u30b8\u30e5\u30fc\u30eb \u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u8aad\u307f\u8fbc\u307f\u306b\u306fimport\u6587\u3092\u4f7f\u3044\u307e\u3059 import random \u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u30e2\u30b8\u30e5\u30fc\u30eb\u5185\u306e\u95a2\u6570\u30fb\u5909\u6570\u3092\u5229\u7528\u3059\u308b\u5834\u5408\u306f\u3001\"\u30e2\u30b8\u30e5\u30fc\u30eb\u540d.\"\u3092\u4ed8\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002 print random.random() #0\u301c1\u306e\u4e71\u6570\u3092\u53d6\u5f97 print random.uniform(1,5\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/white_wheels/","image_url":null,"url":"https://white-wheels.hatenadiary.org/entry/20100306/p5","published":"2010-03-06 00:00:01","provider_name":"Hatena Blog","title":"Python2\u899a\u66f8 \u95a2\u6570\u3068\u30e2\u30b8\u30e5\u30fc\u30eb","author_name":"white_wheels","blog_url":"https://white-wheels.hatenadiary.org/","blog_title":"white wheels\u306e\u30e1\u30e2","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwhite-wheels.hatenadiary.org%2Fentry%2F20100306%2Fp5\" title=\"Python2\u899a\u66f8 \u95a2\u6570\u3068\u30e2\u30b8\u30e5\u30fc\u30eb - white wheels\u306e\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}