PythonSkills.org
Courses
Exercices
Challenges
Quizzes
Open console
0 points
Get started
Loading...
Learnig Path /
Object-Oriented Programming (OOP)
Getter and Setter methods
Loading...
Python Terminal
Loading Python...
If it doesn't load, refresh the page.
Loading...
Run Code
Clear
Previous lesson:
Public vs Private attributes
Next Lesson:
Introduction to Inheritance
Exercices
5
Need Help? Go Back to the Lesson
Using Getter and Setter Methods for Age
Using @property to Control Age Attribute
Creating a Bank Account with Balance Validation
Implementing a Person Class with Name and Age Validation
Encapsulation with Private Attributes and Getters/Setters
Python Basics
167 exercices
+
0% complete
0/69
Lists Comprehension
100 exercices
+
Object-Oriented Programming
69 exercices
+