logo

Question detail

In Python 3, what is the result of 17 // 5?

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 17 // 5?.

  1. A.2
  2. B.3
  3. C.3.4
  4. D.4

Model answer

What a good answer should say

  • 3

Explanation

Why this works

The // operator performs integer division. The whole-number result of dividing 17 by 5 is 3.

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.