Receive the text and print in Tkinter python program

Receive the text and print in the Tkinter python program. This program will print the delivery message to the users after the completion of the selection in Tkinter.

from tkinter import *
window = Tk()
window.title(“Welcome To Inlarn”)
window.geometry(‘500×500’)
lbl = Label(window, text=”Hello”)
lbl.grid(column=0, row=0)
txt = Entry(window,width=10)
txt.grid(column=1, row=0)
def clicked():
lbl.configure(text=”Congrats”)
btn = Button(window, text=”Click “, command=clicked)
btn.grid(column=2, row=0)
window.mainloop()