PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
Learnig Path /
Object-Oriented Programming (OOP)
Public vs Private attributes
Loading...
Python Terminal
Loading Python...
If it doesn't load, refresh the page.
Loading...
Run Code
Clear
Previous lesson:
Static methods
Next Lesson:
Getter and Setter methods
Exercices
5
Need Help? Go Back to the Lesson
Creating a Person Class with Public Attributes
Using Private Attributes with Single Underscore
Using Private Attributes with Double Underscore
Enforcing Data Validation with Private Attributes
Validating Year with Private Attribute in Car Class
0% complete
0/69
Python Basics
167 exercices
+
Lists Comprehension
100 exercices
+
Object-Oriented Programming
69 exercices
+