The best way to use getters and setters

0

I started to study programming recently and the language chosen was Python. And I'm finding it very difficult to enter the use of getters , setters and properties.

In my web surfing, I found that using property is more recommended than using getters and setters in Python, but I did not understand your concepts either.

Could someone help me understand the reason for using these methods and how best to use them?

    
asked by anonymous 24.03.2018 / 21:28

0 answers