Tkinter label aligning for column header in a table with entryboxes

def build_table():
    global cur, rng,cng,le,liname,pop_win,opti
    pn=opti.get()
    q=f"alter table {tbg} add primary key ({pn})"
    cur.execute(q)
    pop_win.destroy()
    popup_win=Toplevel()
    popup_win.geometry('1920x1080')
    for k in range(len(liname)):
        t=liname[k]
        lb=Label(popup_win,text=f"  {t}  ")
        lb.grid(row=1,column=k*10)
    le=[]
    for i in range(int(rng)):
        lb.grid(row=i,column=1)
        se=[]
        for j in range(int(cng)):
            e=Entry(popup_win)
            e.grid(row=(i+1)*10,column=(j+1)*10)
            se.append(e)
        le.append(se)
    Button(popup_win, text=" Create table ", command=create).grid(row=(int(rng)+5)*10,column=(int(cng)+5)*10)

In this i’ve made a toplevel() where i’m creating the table layout with entry boxes. liname is a list with name of all columns, rng in the number of rows in each column.
I’m getting the table but not as i needed… The label name of column is not properly placed.
I need help in correcting it


Say I’ve entered column name like this…

The table I get is

Just the alignment need fixing, but I couldn’t fix it
Please will you help me with that
I’ll be thank full