Here is an excerpt of my class:
Person:
__init__(self, first_name):
self.first_name = first_name
Should I create a function that allows me to get or change the value of the instance variable like this:
def set_first_name(self, first_name):
self.first_name = first_name
Or is it okay to just use something like person1.first_name = ...
?