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
What does floor division print for these positive integers?
print(5 // 3)
Answer & explanation
Answer: 1
For positive operands, // returns the integer quotient rounded down.