Factorial of the Number in Python Using in-built Function

(Last Updated On: 07/12/2022)

Python Program to Find Factorial of the Number Using in-built Function

# import python math library
import math
num = 5
print("Factorial of", num, "is", math.factorial(num))


Factorial of 5 is 120

Leave a Reply

Your email address will not be published. Required fields are marked *