Python program to find Factorial of Entered Number

 fac=1


n=int(input("Enter N : "))


for i in range(n,0,-1):


    fac=fac*i


print(n,"! = ",fac)

Comments