The following is a function I have plugged into a game which displays a score passed to it and offers the options to play again or quit.

If replay is chosen, this tkinter window is closed (root.destroy) and the main program is run again

everything works but if I choose the option to replay, the next time the game ends, no value is shown for the score. The field is just left blank. The value is still being passed to the function,...