What is the purpose of using getters and setters in Python?
To perform mathematical operations on attributes
To restrict access to attributes
To provide access and modify private attributes
To create public attributes
This question is part of this quiz :
Python Encapsulation Quiz