函数 gcd(a, b) 定义如下,则 gcd(105, 45) 的结果是( )。
def gcd(a, b):
if b == 0:
return a
else:
return gcd(b, a % b)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析