Write a program to print the factorial of N
# Python program to find. # factorial of given number. import math. def fact(n): return(math.factorial(n)) num = int(input("Enter the number:")) f = fact(num) print("Factorial of", num, "is", f)
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment