A

Admin • 833.24K Points
Coach

Q. Which built-in function is used to get the class name of an object?

  • (A) type()
  • (B) class()
  • (C) id()
  • (D) str()
  • Correct Answer - Option(A)
  • Views: 34
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`type(object)` returns the class/type of the object.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.