Q. What is the output of the Python code: print(5 // 2)?
Solution:
The // operator performs floor division, returning the largest integer less than or equal to the division result, so 5 // 2 is 2.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.