1.

What is the value of x if x = math.sqrt(4)?(a) 2(b) 2.0(c) (2, -2)(d) (2.0, -2.0)I have been asked this question by my college director while I was bunking the class.Asked question is from Math in chapter Mapping Functions and Modules of Python

Answer»

The CORRECT option is (b) 2.0

Explanation: The function returns ONE floating POINT NUMBER.



Discussion

No Comment Found

Related InterviewSolutions