user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

71. Why is it not recommended to start local variable names with an underscore?

user image

Abhishek Mishra

2 years ago

They serve as a class's private variable designation. Leading underscores are applied to denote variables that should not be accessible from outside the class because Python does not have the concept of private variables.

Recent Doubts

Close [x]