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))