Thursday, November 13, 2014

Factorial in Python

Factorial in Python

def Factorial(zahl):
    result=1
    for i in range(zahl):
        result=result*(zahl-i)
    return result


Author:Marcin
Language:Python 3.4
Info: The math function factorial ! in python. The only limitation you have is your hardware ,)

No comments:

Post a Comment