What will be the output of the following Python program?

print(17 // 5)
                        

Options

  • A. 3.4
  • B. 3
  • C. 2
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

B. 3

Detailed Explanation

The // operator performs floor division. Here, 17 // 5 gives 3.