Why are local variable names beginning with an underscore discouraged?
Answers
Answered by
10
Why are local variable names beginning with an underscore discouraged? Explanation: As Python has no concept of private variables, leading underscores are used to indicate variables that must not be accessed from outside the class. ... Explanation: eval can be used as a variable.
Similar questions
Math,
8 months ago
Accountancy,
8 months ago
Geography,
8 months ago
Computer Science,
1 year ago
English,
1 year ago