下列程序中,当n=4时,返回结果为?( )
def x(n):
if n==1:
return 1
else:
return n+x(n-1)
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析