Question
What is setattr() used for?
Answer: Option B
Was this answer helpful ?
setattr(obj,name,value) is used to set an attribute. If attribute doesn't exist, then it would be created.
Was this answer helpful ?
Submit Solution