Python Calculation of the sum, difference, product, quotient of two numbers

Can you help me please, I can’t figure out how to do this, I can only do it in the console. Write a program in Python with 2 text fields (Text), 4 radio buttons (RadioButton) and a button (Button).
2 numbers are written in the text box.
By clicking on the button, a message box appears in which the sum / difference / product / quotient of the two numbers entered in the text fields is written, depending on the active switch.