编写程序,获得用户输入的数值M和N,求M和N的最大公约数。提示代码如下。def gcd(a,b): if a > b: a,b = b,a r = 1 while r != 0: r=a%b a = b b = r return am = eval(input(""))n = eval(input(""))print(_____________)
手机使用
分享
复制链接
新浪微博
分享QQ
微信扫一扫
微信内点击右上角“…”即可分享
反馈
参考答案:
举一反三
【单选题】My mother said,"The moon moves around the earth." My mother told me that the moon ______________the earth."