PRACTICE / UNDERSTAND / REPEAT

Python practice question

Practice operators with self-contained questions. Check your answer, then use the explanation to understand the reasoning.

1 questionAnswers explainedFree · no login

Try this question

Operators · MCQQuestion link ↗

What does floor division print for these positive integers?

print(5 // 3)
Choose one answer
Answer & explanation

Answer: 1

For positive operands, // returns the integer quotient rounded down.