R

Rati Dubey • 8.55K Points
Tutor III

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

  • (A) <class 'str'>
  • (B) <class 'bool'>
  • (C) <class 'int'>
  • (D) <class 'float'>
  • Correct Answer - Option(B)
  • Views: 9
  • Filed under category Python

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.


Question analytics