Python递归调用自己的函数

def fact(x):
if x == 1:
return 1
else:
return x * fact(x-1)
原文地址:https://www.cnblogs.com/qiaoer1993/p/11870900.html