Q. What is the output of the following code?
Code:
x = 2.5 y = 2 print x//y
β
Correct Answer: (B)
1.0
Explanation: This type of division is called a “truncated division” where the remainder is truncated or removed.