Radiobutton not geting value : I want to get the value of my Radiobutton but it doesn't work! I searched for countless tutorials and none of them answer my question. It might be because of I'm trying to get a dictionary but can somebody please help!! This is my code:

    vars = []
    playersg={"Bob":"1", "Jeff":"2", "John":"3", "Adam":"4"}
    
    
    def NextRound():
        j = 0
        playersg2 = []
        while j < len(vars):
            playersg2 += vars[j].get()
            print(j)
            print(vars[j].get())
            j += 1
        print(playersg2)
    
    def match():
        matchw = Tk()
        matchw.withdraw()
        
        draw = 0
        
        vieww.withdraw()
        matchw.deiconify()
        matchw.title('Tournament Software')
        matchw.geometry("300x999900")
        matchw.configure(background="#1aff29")
    
        numPlayers = len(playersg)
        numDraws = numPlayers/2
        matches=Label(matchw, text="Matches", font="none 50 bold", bg="#1aff29", fg="black").pack()
    
        while draw < numDraws:
            frame = Frame(matchw, bg="#1aff29")
            frame.pack()
            
            var = StringVar()
            R1=Radiobutton(frame, text=playersg[draw], bg="#00e60f" , font="none 10 bold", fg="black",
                           command=NextRound, indicatoron = 0,
                           value = playersg[draw], variable=var)
            R1.pack(side=LEFT, anchor=W)
            Label(frame, text = "vs", font = "none 10 bold", bg="#1aff29", fg="black").pack(side=LEFT, anchor=W)
            R2=Radiobutton(frame, text=playersg[numPlayers-draw-1] , bg="#00e60f", font="none 10 bold", fg="black",
                           command=NextRound, indicatoron = 0,
                           value = playersg[numPlayers-draw-1], variable=var)
            R2.pack(side=LEFT, anchor=W)
    
            draw += 1
            print(var.get())
            vars.append(var)
There is no error but when I print(var[j].get()), it doesn't print anything.