A

Admin • 833.24K Points
Coach

Q. The hasattr(obj,name) is used to

  • (A) check if any specific attribute exists
  • (B) set an attribute
  • (C) access the object’s attribute
  • (D) delete an attribute
  • Correct Answer - Option(A)
  • Views: 37
  • Filed under category Python
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.