A

Admin • 833K Points
Coach

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

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

Explanation by: Admin

`True` is a boolean value, so its type is `bool`.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.