diff --git a/maths/factorial.py b/maths/factorial.py index ba61447c7564..b8bd8966aa0b 100644 --- a/maths/factorial.py +++ b/maths/factorial.py @@ -65,4 +65,4 @@ def factorial_recursive(n: int) -> int: doctest.testmod() n = int(input("Enter a positive integer: ").strip() or 0) - print(f"factorial{n} is {factorial(n)}") + print(f"factorial of {n} = {factorial(n)}")