{"categories":["Codewars","Python","\u6b8b\u8ab2\u984c\u3042\u308a"],"blog_title":"acokikoy's notes","type":"rich","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/acokikoy/","author_name":"acokikoy","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Facokikoy.hatenablog.com%2Fentry%2F2019%2F07%2F05%2F213345\" title=\"\u6bce\u671dCodewars@2019.07.04(\u6728): Change your Points of View - acokikoy&#39;s notes\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","description":"\u6bce\u671d\u3061\u3073\u3061\u3073Codewars\u3002 Change your Points of View [6\u7d1a] www.codewars.com \u4eca\u65e5\u306e\u304a\u984c\uff1a \"\"\" \u6b21\u306e4\u3064\u306e\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u3002 point(x, y) \u306f\u3001\u5ea7\u6a19(x, y) \u306e\u60c5\u5831\u3092\u542b\u3093\u3060 callable \u306a\u95a2\u6570\u3092\u8fd4\u3059\u3002 def point(x, y): return lambda ... callable(point(3,4)) -> True fst(pt) , snd(pt) \u306f\u3001\u305d\u308c\u305e\u308c\u5730\u70b9(x, y)\u306b\u5bfe\u3059\u308b x, y \u3092\u8fd4\u3059\u95a2\u6570\u3002 lint(pt1, pt2)\u306f\u30012\u70b9\u9593\u3092\u901a\u308b\u76f4\u7dda\u306e\u5f0f ax + by + c = 0 \u306e\u5b9a\u6570[a,\u2026","blog_url":"https://acokikoy.hatenablog.com/","width":"100%","provider_name":"Hatena Blog","image_url":null,"url":"https://acokikoy.hatenablog.com/entry/2019/07/05/213345","published":"2019-07-05 21:33:45","title":"\u6bce\u671dCodewars@2019.07.04(\u6728): Change your Points of View","height":"190"}