from tkinter import *
root=Tk()
root.title("@happy_coding01")
root.geometry("300x300")
frame=Frame(root,bg="blue")
frame.pack(fill=BOTH,expand=True)
username=Label(frame,text="Username",bg="white")
username.grid(row=0)
entry1=Entry(frame)
entry1.grid(row=0,column=1)
password=Label(frame,text="Password",bg="white")
password.grid(row=1,column=0)
entry2=Entry(frame)
entry2.grid(row=1,column=1)
root.mainloop()
dca4f95632ae9b08e3b9eba44fb175c90a00a1c2
<mask token>

<mask token>
root.title('@happy_coding01')
root.geometry('300x300')
<mask token>
frame.pack(fill=BOTH, expand=True)
<mask token>
username.grid(row=0)
<mask token>
entry1.grid(row=0, column=1)
<mask token>
password.grid(row=1, column=0)
<mask token>
entry2.grid(row=1, column=1)
root.mainloop()

<mask token>
root = Tk()
root.title('@happy_coding01')
root.geometry('300x300')
frame = Frame(root, bg='blue')
frame.pack(fill=BOTH, expand=True)
username = Label(frame, text='Username', bg='white')
username.grid(row=0)
entry1 = Entry(frame)
entry1.grid(row=0, column=1)
password = Label(frame, text='Password', bg='white')
password.grid(row=1, column=0)
entry2 = Entry(frame)
entry2.grid(row=1, column=1)
root.mainloop()

from tkinter import *
root = Tk()
root.title('@happy_coding01')
root.geometry('300x300')
frame = Frame(root, bg='blue')
frame.pack(fill=BOTH, expand=True)
username = Label(frame, text='Username', bg='white')
username.grid(row=0)
entry1 = Entry(frame)
entry1.grid(row=0, column=1)
password = Label(frame, text='Password', bg='white')
password.grid(row=1, column=0)
entry2 = Entry(frame)
entry2.grid(row=1, column=1)
root.mainloop()

from tkinter import *
root=Tk()
root.title("@happy_coding01")
root.geometry("300x300")
frame=Frame(root,bg="blue")
frame.pack(fill=BOTH,expand=True)
username=Label(frame,text="Username",bg="white")
username.grid(row=0)
entry1=Entry(frame)
entry1.grid(row=0,column=1)
password=Label(frame,text="Password",bg="white")
password.grid(row=1,column=0)
entry2=Entry(frame)
entry2.grid(row=1,column=1)
root.mainloop()