A

Admin • 832.27K Points
Coach

Q. What is the output of print(9 // 2)?

  • (A) 4.5
  • (B) 4
  • (C) 5
  • (D) 5.0
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Double slash means integer division, so 9 // 2 is 4.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.