1. Home
  2. Data Science
  3. Python
  4. Which Python operator performs floor division?

Added 16 Sep 2025

Which Python operator performs floor division?

  1. /
  2. // Correct answer
  3. %
  4. **

Correct answer

B. //

15 views

MCQSEXAM

Explanation

The // operator performs floor division, returning the largest integer less than or equal to the result.

Reference

Asked in: GATE CS, UGC NET

https://docs.python.org/3/reference/expressions.html#binary-arithmetic-operations

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs