0 votes
in Python by

The hasattr(obj,name) is used to:

select the correct answer from below options

1) check if any specific attribute exists

2) set an attribute

3) access the object’s attribute

4) delete an attribute

1 Answer

0 votes
by

1) check if any specific attribute exists

...