What is the purpose of a single underscore _ in Python variables name?
Explanation
Single underscore in variable name is an analogue of making variable “protected” by analogy with many other programming languages. Such variables are not imported when “from my_module import *” is used

Слідкуй за CodeGalaxy

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

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