How can something be modified or added to a class?
For example, in the following code what does it mean that hello can modify the a I used in __init__? I still have a lot of uncertainty on OOP, especially the relation between instantiation and other things.
I'm sure it's possible; if so, how can I do it?
class Foo:
def __init__(self, a):
self.a = a
def hello(self):