Thanks for your reply,
I have another question can you tell me the difference between endl and '\n' and why I cant convert ** to a const char ** and * to a const char *&? If you know about this reply me
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: