Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (120 points)
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()

Please log in or register to answer this question.

Browse Categories

...