用户:概念X查看:5 回复:7 评论:5 创建时间:2018-07-11T14:19:57
如图所示
点赞0
评论
哈哈
我有其他办法,直接用返回,参数和递归
我也会
不用那么麻烦
def fact(n):
if n==0:
return 1;
return n*fact(n-1)
点赞1