# WAP USING FOR LOOP TO CALKCULATE FACTORIAL OF NUMBER n= int(input("Enter the no: ")) fact = 1 for i in range(1, n+1): fact = fact * i print("factorial = ", fact)
To embed this project on your website, copy the following code and paste it into your website's HTML: