We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a097b55 commit 85c2146Copy full SHA for 85c2146
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