Python - Encapsulation and Data Protection
Which of the following is the correct way to make a variable private in a Python class?
__ makes it private.__variable uses double underscore, so it is private.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions