diff --git a/factorial.py b/factorial.py index 372926a..1cf0651 100755 --- a/factorial.py +++ b/factorial.py @@ -7,7 +7,7 @@ def recur_factorial(n): if n == 1: return n else: - return n*recur_factorial(n-1) + return n*recur_factorial(n-1)*2 if __name__ == '__main__':