阅读下列程序,运行结果正确的是?( )
def f(x):
if x==1:
return 0
else:
return (x*x-1)+f(x-1)
print(f(3))
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析