🚀 Hurry! Offer Ends In
00 Days
00 Hours
00 Mins
00 Secs
Enroll Now
X

निम्नलिखित function का अध्ययन कीजिए: इस कोड का आउटपुट क्या होगा?

Study the following function: What will be the output of this code?

import math
abs(math.sqrt(36))
A)
B)
C)
D)

Explanation:

The function math.sqrt(36) computes the square root of 36, which is 6.0. The abs() function returns the absolute value of a number, and since 6.0 is already positive, abs(6.0) will still be 6.0.

So, the output will be:

Answer: (D) 6.0

Latest Updates