A

Admin • 833.24K Points
Coach

Q. What will be the result of `print(5//2)`?

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

Explanation by: Admin

`//` is floor division, which returns the largest integer less than or equal to the division result.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.