The Entry widget in Tkinter is used to accept single-line text strings from a user.
-Entry widget accept all type of type of input like string, alphabet, number and special character.
-StringVar() and IntVar() are used to declared a string and integer variable.
Syntax-
e=Entry(window,option=value)
Show the Design of Entry Widget-
program-
from tkinter import *
#create a window screen
win=Tk()
#show text on screen
l=Label(win,text="Enter Value")
l.place(x=40,y=100)
#Entry field at user side
e=Entry(win)
e.place(x=40,y=140)
#Create button
b=Button(win,text="Submit")
b.place(x=60,y=180)
#hold the screen
win.mainloop()