quick question in python let's say my class goes like this
class Enemy():
def __init__(self, level):
self.level = level
self.damage = self.level + 5
the thing is that since the self.damage value is instantiated once it will not update when self.level is changed, how can I make it do just that? I tried searching online but I have no idea what this is called so I cannot find any help