What is setattr() used for?
Answers
Answered by
0
Answer:
here is your answer check it follow me guys and mark as brainlist answer and thank to my answer
Explanation:
setattr() is used to assign the object attribute its value. Apart from ways to assign values to class variables, through constructors and object functions, this method gives you an alternative way to assign value.
Similar questions
Chemistry,
4 months ago
Chemistry,
4 months ago
Math,
8 months ago
Social Sciences,
8 months ago
Social Sciences,
11 months ago
History,
11 months ago
Math,
11 months ago