I have a Dropbox and I want to print out a selected fruit option it works, But I want it to delete the previously displayed fruit and put the new selected one in it's place but instead it just displays the new one under the first
here's the program
fruits=["apple",
"mango",
"pear",
"orange"]
clicked=StringVar()
clicked.set(fruits[0])
drop=OptionMenu(root,clicked,*fruits)
drop.pack()
def Print():
display=Label(root,text=clicked.get()).pack()
button=Button (root,text="Print",command=Print)