Exam-style question
Try this first
In Python 3, what is the result of round(8.6)?.
- A.8
- B.8.6
- C.9
- D.86
Model answer
What a good answer should say
- 9
Explanation
Why this works
The round operation rounds 8.6 to the nearest whole number, which is 9.
Common mistake
No common mistake is linked to this question yet.
