β
Correct Answer: (A)
they are used to indicate a private variables of a class
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 by: Mr. Dubey
as python has no concept of private variables, leading underscores are used to indicate variables that must not be accessed from outside the class.
Discussion
Question Analytics
482
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
93%
Success Rate