Q. What is the output of `type(True)`?

  • (A) <class 'bool'>
  • (B) <class 'int'>
  • (C) <class 'str'>
  • (D) <class 'object'>
πŸ’¬ Discuss
βœ… Correct Answer: (A) <class 'bool'>
Explanation: `True` is a boolean value, so its type is `bool`.
Explanation by: Mr. Dubey
`True` is a boolean value, so its type is `bool`.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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