Which one of these is floor division?
A. /
B. //
C. %
D. None of the mentioned
Answer:B
Which one of these is floor division?
A. / B. // C. % D. None of the mentioned
Explanation: When both of the operands are integer then python chops out the fraction part and gives you the round off value, to get the accurate answer use floor division.