A

Admin • 833K Points
Coach

Q. What is the output of `bool(0)` in Python?

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

Explanation by: Admin

`0` 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.