I have a variable named playerGold and it starts with a value of 0. (playerGold=0). I have this variable displayed on a label on my tkinter GUI (playerGoldLabel).
I want to make it so when I click a button it adds on 13 to the playerGold variable and updates the tkinter label.
I have tried playerGold + 13 and using playerGoldLabel.config(text=playerGold) to try and update it but it doesn't seem to work. Any help would be appreciated.