print(math.fabs(-3.4)) निष्पादित करने पर क्या प्रदर्शित होता है?
What is displayed on executing print(math.fabs(-3.4))?
A)
B)
C)
D)
Explanation:
The math.fabs()
function returns the absolute value of a number, meaning it removes the negative sign if the number is negative.
So, math.fabs(-3.4)
will return 3.4
.
Answer: (B) 3.4