From 99a37ba875d0be602e096299db1f1111cb592172 Mon Sep 17 00:00:00 2001 From: gitSandeepmore <72209633+gitSandeepmore@users.noreply.github.com> Date: Thu, 1 Oct 2020 23:29:51 +0530 Subject: [PATCH] Added Factorial program --- Factorial.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 Factorial.py diff --git a/Factorial.py b/Factorial.py new file mode 100644 index 00000000..ce4ff9f5 --- /dev/null +++ b/Factorial.py @@ -0,0 +1,10 @@ + +# https://www.facebook.com/sandeepmore.more.5/posts/1261804104181092 +# subscribed by code House + + +no=int(input("Enter any number:")) +print("Factor of {} is given below:".format(no)) +for i in range (i,no+1): + if no%i==0: + print(i,end="")