Articles → Python → Math.Factorial Function In Python

Math.Factorial Function In Python






Purpose





Example


import math

print("Factorial of 5 is: ", math.factorial(5))



Output


Picture showing the output of the math.factorial function in python

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, April 18, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250