Vidyalelo
Python · Q32

Python MCQs: Variable Names and Operators Chapter

Programming · Python · question 32

Q32

Why are local variable names beginning with an underscore discouraged?

A.
they are used to indicate a private variables of a class
Answer
B.
they confuse the interpreter
C.
they are used to indicate global variables
D.
they slow down execution

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board