Monday, 20 March 2017

Python - find the factorial program

Factorial program



Here we have the factorial program for you in python.

>>OPen your Python IDE.
>>Copy the below code in new document.
>>Save it and, simply run. 

>>Input
Source code of program



>print("create factorial program")
>number = int(input("enter value: "))
>product = 1
>for i  in range(number):
>    print(range)
>    product = product * (i+1)

>    print(product)
>final= input("press enter to exit")


>>Output
After the code runs


Let's think, if we choose the number 5.


Also see : Python - "Hello World"
                Download paid apps for free.
                Motorola moto g5 plus for 14999/- from flipkart.