What is the result of math.trunc(3.1)?
A. 3.0
B. 3
C. 0.1
D. 1
Answer:A
What is the result of math.trunc(3.1)?
A. 3.0 B. 3 C. 0.1 D. 1
Explanation: The integral part of the floating point number is returned.