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

  • (A) True
  • (B) False
  • (C) 0
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (B) False
Explanation: `0` is considered `False` in boolean context.
Explanation by: Mr. Dubey
`0` is considered `False` in boolean context.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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