What Is Setattr Used For #1071
What is setattr() used for?
This multiple choice question (MCQ) is related to the book/course gs gs109 Python. It can also be found in gs gs109 Classes and Objects - Python Classes and Objects - Quiz No.1.
What is setattr() used for?
To access the attribute of the object
To set an attribute
To check if an attribute exists or not
To delete an attribute