What is the output of print(math.factorial(4.5))?
A. 24
B. 120
C. error
D. none of the mentioned
Answer:A
What is the output of print(math.factorial(4.5))?
A. 24 B. 120 C. error D. none of the mentioned
Explanation: Factorial is only defined for non-negative integers.