Intellipaat 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 to answer this question.

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...