递归函数:在函数内部调用自身
def fact(n): if n ==1: return 1 return n * fact(n-1)
posted on 2019-03-29 13:56 夜色涪江ye 阅读(82) 评论(0) 收藏 举报