标签:bsp 函数 turn ret class code pre logs 递归
1 def fact(n): 2 if n==0: 3 return 1 4 else: 5 return n*fact(n-1)
阶乘的递归定义函数
原文地址:http://www.cnblogs.com/simon930/p/6492892.html