We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcff9a3 + 85c2146 commit 963085bCopy full SHA for 963085b
factorial.py
@@ -14,6 +14,6 @@ def get_iterative_factorial(n):
14
for i in range(1, n+1):
15
fact *= i
16
return fact
17
-
+print("input should be an integer")
18
print(get_recursive_factorial(6))
19
-print(get_iterative_factorial(6))
+print(get_iterative_factorial(6))
0 commit comments