What is the __ Setattr __ in Python?

Python setattr() method 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.30 Eyl 2021

Leave a Reply

Your email address will not be published. Required fields are marked *