python n的阶乘

def factoriial(n):
if n==1:
return 1
return n*factoriial(n-1)
print factoriial(5)
原文地址:https://www.cnblogs.com/zhzf/p/8409014.html