Q10
What is the result of int(3.9) ?
A.
3
AnswerB.
3.9
C.
4
D.
4.0
Answer: Option A
Solution
Answer: Option A
Solution:
The int() function converts a floating-point number to an integer by truncating the decimal part.