logo

Question detail

In Python 3, what is the result of round(8.6)?

Try the question, check the answer, then read the explanation to understand the curriculum point.

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

In Python 3, what is the result of round(8.6)?.

  1. A.8
  2. B.8.6
  3. C.9
  4. 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.

Related flashcards

No flashcards are published for this page yet.

Related practice questions

No questions are published for this page yet.