Page 1 of 1

What is setattr() used for?

Posted: Wed Jul 13, 2022 7:45 pm
by answerhappygod
a) To access the attribute of the object
b) To set an attribute
c) To check if an attribute exists or not
d) To delete an attribute