Back
from tkinter import * root = Tk() def myclick(): lab = Label(root, text=inp.get()).pack() inp = Entry(root, width=40, borderwidth=5).pack() but = Button(root, text="submit", command=myclick).pack() root.mainloop()
31k questions
32.8k answers
501 comments
693 users