Which Python operator performs floor division?
-
A
/
-
B
//
Correct answer
-
C
%
-
D
**
15 views
Explanation
The // operator performs floor division, returning the largest integer less than or equal to the result.
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ