MCQOPTIONS
Saved Bookmarks
| 1. |
What is the output of the following piece of 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» E. | |