What is getter setter and Deleter in Python?

We also set: a getter method get_name() to get the name of the person, a setter method set_name() to set the name of the person, a deleter method del_name() to delete the name of the person.

Sizin İçin Seçtik  What are the two kinds of members of a class in Python?

Leave a Reply

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