def chengji(n):
if n == 0:
return 1
return chengji(n-1)*n
print(chengji(n))
转载于:https://www.cnblogs.com/lzw19951020/p/9362983.html
def chengji(n):
if n == 0:
return 1
return chengji(n-1)*n
print(chengji(n))
转载于:https://www.cnblogs.com/lzw19951020/p/9362983.html