πŸ“Š Python
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

πŸ‘οΈ
71
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
96%
Success Rate