运行给定Python程序中fac(6)调用fac函数几次?
def fac(a):
if a == 1:
return 1
else:
return a + fac(a-1)
print(fac(6))
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析