I am using tkinter and Python 3.8.5. I have the following two entry boxes that I would like to clear.
ketones_entry = Entry(screen, textvariable = key).place(x=120, y=75)
glucose_entry = Entry(screen, textvariable = glu).place(x=120, y=120)
This is what I used to try and clear
ketones_entry.delete(0,END)
glucose_entry.delete(0,END)
I receive this error
ketones_entry.delete(0,END)
AttributeError: 'NoneType' object has no attribute 'delete'