Home ยป Programming Language (coding) ยป Python MCQs ยป 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 

Take Part in Discussion:

Your email address will not be published.

Solve : *
16 × 28 =