from tkinter import *

def getvals():
    pass

root = Tk()

label_1 = Label(root, text = "Name")
label_2 = Label(root, text = 'Password')
entry_1 = Entry(root) # enter the name
entry_2 = Entry(root) # enter the password

label_1.grid(row = 0, sticky = E) # east-west-north-south
label_2.grid(row = 1, sticky = E)

entry_1.grid(row = 0, column = 1)
entry_2.grid(row = 1, column = 1)

c = Checkbutton(root, text = "Keep me logged in")
c.grid(columnspan = 2)

Button(text = "Submit", command = getvals).grid()

root.mainloop()