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

  • (A) False
  • (B) True
  • (C) Error
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (B) True
Explanation: Non-empty strings evaluate to `True`, even if the content is `'False'`.
Explanation by: Mr. Dubey
Non-empty strings evaluate to `True`, even if the content is `'False'`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
102
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate