from tkinter import *
window=Tk()

# button
btn=Button(window, text="This is Button widget", fg='blue')
btn.place(x=80, y=100)

#label
lbl=Label(window, text="This is Label widget", fg='red', font=("Helvetica", 16))
lbl.place(x=60, y=50)

# text entry field
txtfld=Entry(window, text="This is Entry Widget", bd=5)
txtfld.place(x=80, y=150)

# window
window.title('Hello Python')
window.geometry("300x200+10+10")

window.mainloop()
from tkinter import *
window=Tk()

# button
btn=Button(window, text="This is Button widget", fg='blue')
btn.place(x=80, y=100)

#label
lbl=Label(window, text="This is Label widget", fg='red', font=("Helvetica", 16))
lbl.place(x=60, y=50)

# text entry field
txtfld=Entry(window, text="This is Entry Widget", bd=5)
txtfld.place(x=80, y=150)

# window
window.title('Hello Python')
window.geometry("300x200+10+10")

window.mainloop()
# button #label # text entry field # window