We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8934bab commit 148d9daCopy full SHA for 148d9da
maths/factorial.py
@@ -65,4 +65,4 @@ def factorial_recursive(n: int) -> int:
65
doctest.testmod()
66
67
n = int(input("Enter a positive integer: ").strip() or 0)
68
- print(f"factorial{n} is {factorial(n)}")
+ print(f"factorial of {n} = {factorial(n)}")
0 commit comments