x का मान क्या है, यदि x = math.sqrt(25.0)?
What is the value of x, if x = math.sqrt(25.0) ?
A
(5, -5)
B
5
C
5.0
D
(5.0, -5.0)
Explanation
The math.sqrt() function in Python returns the square root of a number, which is always non-negative.
For x = math.sqrt(25.0):
- The square root of
25.0is5.0.
So, the value of x will be 5.0.
Answer: (C) 5.0
Correct Answer: C) 5.0