给定的Python阶乘实现代码使用了哪种算法?
def fact(n):
if n == 0:
return 1
else:
return n * fact(n-1)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析