A

Admin • 832.27K Points
Coach

Q. What will `print(5 // 2)` output?

  • (A) 2.5
  • (B) 2
  • (C) 2.0
  • (D) Error
  • Correct Answer - Option(B)
  • Views: 24
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`//` is floor division, which returns the integer part of the division.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.