{"blog_title":"Newbee\u3086\u3086\u30fc","blog_url":"https://yuyuyuyuyu.hateblo.jp/","published":"2014-06-07 14:52:39","width":"100%","height":"190","description":"\u30b3\u30fc\u30c9 import math def simple_areas(*args): m = args if len(args) == 1: r = m[0] / 2.0 print round(r * r * math.pi,2) elif len(args) == 2: print m[0] * m[1] elif len(args) == 3: if m[0] == m[1] == m[2]: m = sorted(m) print round(m[0] * m[1] * math.sqrt(3) / 4 , 2) else: s = (m[0] + m[1] + m[2]) / 2.0 p\u2026","provider_name":"Hatena Blog","image_url":"http://cdn-ak.f.st-hatena.com/images/fotolife/g/g_YUYUYU/20140607/20140607144926.jpg","url":"https://yuyuyuyuyu.hateblo.jp/entry/pySimpleAreas","type":"rich","title":"Python\u3067Simple Areas","provider_url":"https://hatena.blog","version":"1.0","categories":["CheckIO","math","\u5e73\u65b9\u6839","\u4e09\u89d2\u5f62","round","\u30d8\u30ed\u30f3\u306e\u516c\u5f0f"],"author_name":"g_YUYUYU","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuyuyuyuyu.hateblo.jp%2Fentry%2FpySimpleAreas\" title=\"Python\u3067Simple Areas - Newbee\u3086\u3086\u30fc\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/g_YUYUYU/"}