Factorial
This is a python program to find the Factorial of a number. num=int(input(“Enter a no to print it’s factorial:”)) fact=1 i=num while i>0: fact*=i i-=1 print(f”Factorial of {num} is {fact}”) Factorial of a number n is (n)*(n-1)*(n-2)*(n-3)*……….*3*2*1.