1.

What is the value of x if x = math.factorial(0)?(a) 0(b) 1(c) error(d) none of the mentionedI got this question during an interview for a job.Question is from Math topic in chapter Mapping Functions and Modules of Python

Answer»

The CORRECT option is (b) 1

The BEST I can explain: FACTORIAL of 0 is 1.



Discussion

No Comment Found

Related InterviewSolutions