try to use the custom fields that will only be available after you select it from the 'screen option' at your right top corner. But if you wish for a better user effect like a date picking tools etc, you should research on 'metabox' where you will be able to create your own layout for the extra fields.
root = tkinter.Tk()
buttons=[i for i in range(10)]
#If specific button is pressed, output "YES"
for num in buttons: