{"type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frennnosukesann.hatenablog.com%2Fentry%2F2015%2F06%2F14%2F205749\" title=\"\u3010Python\u3011\u5b9f\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u30ea\u30b9\u30c8\u306e\u30a2\u30f3\u30d1\u30c3\u30af - Ren&#39;s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"Python\u66f8\u3044\u3066\u3066\u521d\u3081\u3066\u77e5\u3063\u305f\u306e\u3067\u30e1\u30e2\u3002 \u95a2\u6570\u306b\u5f15\u6570\u3092\u6e21\u3059\u3068\u304d\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ea\u30b9\u30c8\u304c\u683c\u7d0d\u3055\u308c\u305f\u5909\u6570\u306e\u982d\u306b\"*\"\u3092\u3064\u3051\u308b\u3053\u3068\u3067\u3001 \u30ea\u30b9\u30c8\u304c\u30a2\u30f3\u30d1\u30c3\u30af\u3055\u308c\u3066\u5f15\u6570\u306e\u7f85\u5217\u3068\u3057\u3066\u6271\u3048\u308b\u3089\u3057\u3044\u3002 import math # \u6975\u5ea7\u6a19\u7cfb\u306b\u5909\u63db def polar_coordinates(x, y): r = math.sqrt(x ** 2 + y ** 2) theta = math.atan(y / x) return r, theta x = 4. y = 3. coordinates = (x, y) print polar_coordinates(*coordinates) # \u30a2\u30f3\u30d1\u30c3\u30af # >\u2026","provider_url":"https://hatena.blog","width":"100%","categories":["Python"],"author_url":"https://blog.hatena.ne.jp/rennnosukesann/","blog_url":"https://rennnosukesann.hatenablog.com/","provider_name":"Hatena Blog","height":"190","image_url":null,"author_name":"rennnosukesann","url":"https://rennnosukesann.hatenablog.com/entry/2015/06/14/205749","blog_title":"Ren's blog","title":"\u3010Python\u3011\u5b9f\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u30ea\u30b9\u30c8\u306e\u30a2\u30f3\u30d1\u30c3\u30af","version":"1.0","published":"2015-06-14 20:57:49"}