Examveda

What will be the output of the following Python code?
from math import factorial
print(math.factorial(5))

A. 120

B. Nothing is printed

C. Error, method factorial doesn't exist in math module

D. Error, the statement should be: print(factorial(5))

Answer: Option D


This Question Belongs to Python Program >> Module In Python

Join The Discussion

Related Questions on Module in Python