From 148d9da015416e1068aa0400eeaaf5e59cd0c5c1 Mon Sep 17 00:00:00 2001 From: gsk0906 Date: Tue, 9 Dec 2025 09:23:49 +0530 Subject: [PATCH] I have updated the print statement to understand --- maths/factorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}")