What is setattr() used for?
To check if an attribute exists or not
To delete an attribute
To access an attribute
To set an attribute
setattr() used to set an attribute
Comment here: