Asked by Anurag Patra · ST. MICHAEL'S SCHOOL, DURGAPUR
Answer: B. 2
The // operator in Python is the floor division (or integer division) operator. It divides the first number by the second and returns only the integer part of the quotient, discarding any decimal portion.
The expression 5 // 2 is calculated as 2.5, but the // operator truncates the result to the nearest whole integer, which is 2.
Answering after opening this box earns no Practice Points.