A

Admin • 833K Points
Coach

Q. What will be the output of `bool('False')`?

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

Explanation by: Admin

Non-empty strings evaluate to `True`, even if the content is `'False'`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.