So when i change variable health im trying to inform user that their health has changed by printing "Your health is %s". Heres how it looks like...
health=5
def start():
global health
health+=2
So I'm wondering is there a way to inform the user with some kind of overarching function that is not within this function start()
but outside it so that every time variable health is changed it prints that and that? I'm learning python so dont judge!