πŸ“Š Python
Q. What is the output of `print(bool(0))`?
  • (A) True
  • (B) False
  • (C) 0
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (B) False

Explanation: Zero is considered `False` in a boolean context.

Explanation by: Mr. Dubey
Zero is considered `False` in a boolean context.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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