Why are local variable names beginning with an underscore discouraged?
Why are local variable names beginning with an underscore discouraged? Correct Answer they are used to indicate a private variables of a class
As Python has no concept of private variables, leading underscores are used to indicate variables that must not be accessed from outside the class.
মোঃ আরিফুল ইসলাম
Feb 20, 2025