Q. Why are local variable names beginning with an underscore discouraged? (Solved)

1. they are used to indicate a private variables of a class

2. they confuse the interpreter

3. they are used to indicate global variables

4. they slow down execution

  • a. they are used to indicate a private variables of a class
Subscribe Now

Get All Updates & News