{"published":"2016-02-17 21:33:35","categories":["Python"],"author_url":"https://blog.hatena.ne.jp/shigemk2/","width":"100%","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Frandom_python\" title=\"\u306a\u3093\u3068\u306a\u304fPython\u3067\u4e71\u6570\u3092\u51fa\u3059\u3060\u3051\u306e\u7c21\u5358\u306a\u30b9\u30af\u30ea\u30d7\u30c8 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"description":"\u4e71\u6570\u3002 #!/usr/bin/python import random import sys test = random.randrange(10000) print test if test >= 5000: print \"OK!!\" else: sys.stdout.write('ERROR') 9.6. random \u2014 \u64ec\u4f3c\u4e71\u6570\u3092\u751f\u6210\u3059\u308b \u2014 Python 3.5.1 \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8","provider_url":"https://hatena.blog","url":"https://www.shigemk2.com/entry/random_python","author_name":"shigemk2","title":"\u306a\u3093\u3068\u306a\u304fPython\u3067\u4e71\u6570\u3092\u51fa\u3059\u3060\u3051\u306e\u7c21\u5358\u306a\u30b9\u30af\u30ea\u30d7\u30c8","version":"1.0","type":"rich","blog_title":"by shigemk2","provider_name":"Hatena Blog","blog_url":"https://www.shigemk2.com/"}