πŸ“Š Python
Q. What is the output of `print(type(True))`?
  • (A) <class 'str'>
  • (B) <class 'bool'>
  • (C) <class 'int'>
  • (D) <class 'float'>
πŸ’¬ Discuss
βœ… Correct Answer: (B) <class 'bool'>

Explanation: `True` and `False` are of type `bool` in Python.

Explanation by: Rati Dubey
`True` and `False` are of type `bool` in Python.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
32
Total Visits
πŸ“½οΈ
4 mo ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
88%
Success Rate