Login
Remember
Register
Ask a Question
Why does the name of local variables start with an underscore discouraged?
0
votes
asked
Jan 18, 2021
in
Python
by
SakshiSharma
Why does the name of local variables start with an underscore discouraged?
i) To identify the variable
ii) It confuses the interpreter
iii) It indicates a private variable of a class
iv) None of these
#python-underscore
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 18, 2021
by
SakshiSharma
iii) It indicates a private variable of a class
...