3 ответов
+ 1
Python have access modifier by default all variable are public if you want to make a variable private then you have to add double under score before variable name
And for making variable protected you have to add single under score before variable name
+ 1
Thank you kamesh shekhar prasad but they are still accessible.