A

Admin • 832.27K Points
Coach

Q. What will be the output of print(bool(0))?

  • (A) True
  • (B) False
  • (C) None
  • (D) 0
  • Correct Answer - Option(B)
  • Views: 20
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Zero is considered False in boolean context.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.