执行下列Python递归函数,调用func(3)的返回值是?
def func(n):
if n == 1:
return 1
return n + func(n-1)
print(func(3))
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析