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