Access Modifiers in Python
Python uses naming conventions more than private keywords. normal_name is public. _name means “internal / subclass, please don’t touch” — convention only. __name inside a class triggers name mangling so outside access is harder. There is no true private like Java. Culture: we’re all adults, follow the underscore.
Viva — explain _, __, and that privacy is by convention. Don’t claim __ makes it encrypted. It only mangles the name.
Access Modifiers in Python — output — 1 2. pub and _hint readable. __hide is name-mangled — don’t touch from outside.
_ vs __ difference.