CBSE Class 11 Computer Science Question 24 of 63

Introduction to Python Modules — Question 5

Back to all questions
5
Question

Question 5

What is the value of x, if x = math.sqrt(25.0) ?

  1. (5, -5)
  2. 5
  3. 5.0
  4. (5.0, -5.0)
Answer

5.0

Reason — The math.sqrt() function returns the square root of a number. For math.sqrt(25.0), the result is 5.0, which is the positive square root of 25.0.