To find the Factorial of a number


         # PROGRAM

n=input('Enter the number : ')
fact=1
x=n
for n in range (x,0,-1):
fact=fact*n
print fact

Popular Posts