1.

What will be the output of print(math.factorial(4.5))?(a) 24(b) 120(c) error(d) 24.0

Answer» Right choice is (c) error

The explanation is: Factorial is only defined for non-negative integers.


Discussion

No Comment Found