What is the result of round(3.75) in Python?
-
A
4.0
Correct answer
-
B
3.75
-
C
3
-
D
Error
13 views
Explanation
The round() function rounds a number to the nearest integer, so round(3.75) equals 4.
Doubts & discussion
Not sure why the answer is A? Ask here and get an explanation.
Ask a doubt about this MCQ