def factorial(N, result=1): if N == 1: return result return factorial(N-1, N*result)
As written, it just looks like the author never ran the code.
As written, it just looks like the author never ran the code.