以下程序用于输出正整数m和n(m>n)的所有相同因子,则空白部分应该填写的内容是:m=int(input("请输入一个整数:"))n=int(input("请输入一个整数:"))for i in range(1,n+1): if _____________: print(i)
A.
i%m==0 and i%n==0
B.
m%i==0 and n%i==0
C.
m%i==0 or n%i==0
D.
m//i==0 and n//i==0
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】Suppose the price of gasoline rises rapidly because of supply problems and consumers respond consistent with the law of demand. Then consumers would
A.
decrease the quantity of gasoline consumed. So, the CPI inflation rate would understate the rate of inflation.
B.
decrease the quantity of gasoline consumed. So, the CPI inflation rate would overstate the rate of inflation.
C.
increase the quantity of gasoline consumed. So, the CPI inflation rate would understate the rate of inflation.
D.
increase the quantity of gasoline consumed. So, the CPI inflation rate would overstate the rate of inflation.
【单选题】Suppose the price of leather used to produce shoes increases. The higher price of leather ____ the supply of shoes, and the supply curve of shoes ____.