print(math.fabs(-3.4)) निष्पादित करने पर क्या प्रदर्शित होता है?
What is displayed on executing print(math.fabs(-3.4))?
A
-3.4
B
3.4
C
3
D
-3
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
Correct Answer: B) 3.4