You need to create event handling actions for clicking the button. You can either create a Button two ways and assign a check function to it, as in the example and using var.get() to get the value from Radiobutton
from tkinter import * def check(): radio_button = var.get() print(radio_button) root = Tk() var = IntVar() rb1 = Radiobutton(root,text='50',variable=var,value=1) rb2 = Radiobutton(root,text='100',variable=var,value=2) rb3 = Radiobutton(root,text='200',variable=var,value=3) rb4 = Radiobutton(root,text='500',variable=var,value=4) rb1.place(x=50, y=125) rb2.place(x=100, y=125) rb3.place(x=50, y=150) rb4.place(x=100, y=150) button = Button(root, text='ΠΏΠΎΠ»ΡΡΠ΅Π½ΠΈΠ΅ Π·Π½Π°ΡΠ΅Π½ΠΈΠ΅ ΡΠ°Π΄ΠΈΠΎΠΊΠ½ΠΎΠΏΠΊΠΈ', command=check) button.place(x=0, y=0) root.mainloop()
Or assign a command to each Radiobutton and then use the same method to get the value
from tkinter import * def check(): radio_button = var.get() print(radio_button) root = Tk() var = IntVar() rb1 = Radiobutton(root, text='50', variable=var, value=1, command=check) rb2 = Radiobutton(root, text='100', variable=var, value=2, command=check) rb3 = Radiobutton(root, text='200', variable=var, value=3, command=check) rb4 = Radiobutton(root, text='500', variable=var, value=4, command=check) rb1.place(x=50, y=125) rb2.place(x=100, y=125) rb3.place(x=50, y=150) rb4.place(x=100, y=150) root.mainloop()