from tkinter import *
master = Tk()
var01 = IntVar()
Checkbutton(master, text='male', variable=var01).grid(row=0, sticky=W)
var02 = IntVar()
Checkbutton(master, text='female', variable=var02).grid(row=1, sticky=W)
var03 = IntVar()
Checkbutton(master, text='other', variable=var03).grid(row=2, sticky=W)
mainloop()