結果 : how to check if a button is pressed in python tkinter