What is the purpose of double underscore __ in Python variable name?
Explanation
Variables whose name begins with double underscore are treated by interpreter as class private. Internally they will be renamed to _ClassName__VariableName to prevent unwanted access to them by other engineers

Слідкуй за CodeGalaxy

Мобільний додаток Beta

Get it on Google Play
Зворотній Зв’язок
Продовжуйте вивчати
тести з Python
Cosmo
Зареєструйся Зараз
або Підпишись на майбутні тести