Page 1 of 1

What is getattr() used for?

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