1.

What is output of print(math.pow(3, 2))?(a) 9(b) 9.0(c) None(d) None of the mentionedThe question was asked in an online interview.The query is from Math topic in division Mapping Functions and Modules of Python

Answer»

Correct OPTION is (b) 9.0

The explanation is: math.pow() RETURNS a floating POINT NUMBER.



Discussion

No Comment Found

Related InterviewSolutions