有如下Python程序段,执行该程序段后输出的结果是?( )
def fac(n):
s = 1
for i in range(1,n+1):
s = s * i
return s
print(fac(5))
正在加载题目数据…
子题
该题型需在试卷/作业中作答,单题练习暂不支持
答案解析