What is the output of this line of code?

print(11//2)

(1 point)
Responses

5

5

5.5

5.5

11//2

11//2

“11//2”

1 answer

The output of the line of code print(11//2) is 5.

The // operator in Python performs integer (floor) division, which divides the left operand by the right operand and then takes the floor of the result (i.e., the largest integer less than or equal to the division result).

So, the correct response is:

5