From 13d8e0bdb20f3c15cc90ff46ce2c956f5ed0eebf Mon Sep 17 00:00:00 2001 From: periyavicky06 Date: Mon, 27 Oct 2025 19:32:09 +0530 Subject: [PATCH] Update factorial.py --- factorial.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/factorial.py b/factorial.py index 60d09f1..ea5d4f1 100644 --- a/factorial.py +++ b/factorial.py @@ -1,10 +1,11 @@ + # Python program to find the factorial of a number provided by the user. # change the value for a different result -num = 7 +num = 6 # To take input from the user -#num = int(input("Enter a number: ")) +num = int(input("Enter a number: ")) factorial = 1