Home » Programming Language (coding) » Python MCQ » Study the following function: import math abs(math.sqrt(36)) What will be the output of this code?

Study the following function: import math abs(math.sqrt(36)) What will be the output of this code?

Study the following function:

import math
abs(math.sqrt(36)) 

What will be the output of this code?

A. Error
B. -6
C. 6
D. 6.0

Correct Answer: Option D. 6.0 

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
28 ⁄ 2 =