Find out the factorial of given number in python
View All Python Programs Source Code num=int(input(“Enter the number :”)) fact=1 for n in range(1,num+1): fact=fact*n print(“Sum of number is : “,fact) Output Enter the number :5 Sum of number is : 120 View All Python Programs
Find out the factorial of given number in python Read More »