I want to make a \"program\" that updates a label when you press a button and print out a variable, but with the code i have it does not work. Can someone help me out?
T
Instead of label_1.update() (which doesn't do anything close to what you think it does), reconfigure the widget with label_1.config(text=x).
label_1.update()
label_1.config(text=x)