{"provider_name":"Hatena Blog","title":"python \u3067\u6700\u5927\u516c\u7d04\u6570","width":"100%","author_name":"benton","blog_url":"https://benton.hatenablog.com/","url":"https://benton.hatenablog.com/entry/2018/08/11/143948","blog_title":"benton\u96d1\u8a18\u5e33","image_url":null,"type":"rich","description":"\u7d44\u307f\u8fbc\u307f\u95a2\u6570\u306b\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u6700\u521d\u306a\u306e\u3067\u81ea\u5206\u3067\u4f5c\u3063\u3066\u307f\u307e\u3057\u305f\u3002\u306a\u3093\u3068\u304b\u3001\u3046\u307e\u304f\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3002 #\u6700\u5927\u516c\u7d04\u6570\u3092\u8a08\u7b97\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0 from operator import mul from functools import reduce def gcf(): num1 = input('\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a') num2 = input('\u3082\u3046\u4e00\u3064\u597d\u304d\u306a\u6570\u5b57\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\uff1a') x = int(num1) y = int(num2) gcf_factors = [] gcf_factor = 2 if x <= y: while gcf_factor <= x : if\u2026","height":"190","author_url":"https://blog.hatena.ne.jp/benton/","provider_url":"https://hatena.blog","categories":["python"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbenton.hatenablog.com%2Fentry%2F2018%2F08%2F11%2F143948\" title=\"python \u3067\u6700\u5927\u516c\u7d04\u6570 - benton\u96d1\u8a18\u5e33\" 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","published":"2018-08-11 14:39:48"}