Python while loop to find Factorials of Number

def factorial (n): 
    m=1
    while n>=1:        
        m=m*n
        n=n-1
    return m
print  factorial(53)
Output:4274883284060025564298013753389399649690343788366813724672000000000000

Comments

Popular posts from this blog

পিৎজা এবং বই

How to Download Video from Youtube - The Easiest way