📅  最后修改于: 2022-03-11 14:45:50.296000             🧑  作者: Mango
pythonCopyimport sys
sys.setrecursionlimit(5000)
def fact(n):
"""Recursive function to find factorial"""
if n == 1:
return 1
else:
return (n * fact(n - 1))
print(fact(4000))