Question

X Programming Exercise 8.6 | Instructions breezypythongui.py taxformwithgui.py + Q Desktop + ve Add radio button options for

19 def breezypythongui.py taxform withgui.py + _init_(self): Sets up the window and the widgets. 21 Easy Frame. _init__(s

1 0
Add a comment Improve this question Transcribed image text
Answer #1

Here i am providing the answer. Hope it helps. please give me a like. it helps me a lot.

Here is the code to add Radio Buttons to the above-mentioned tax calculator program:-

You can use anchors or a grid to place the radio buttons.

 rate=IntVar() rdioOne = Radiobutton(app, text='Single', variable=rate, value=20) rdioTwo = Radiobutton(app, text='Married', variable=rate, value=15) rdioThree =Radiobutton(app, text='Divorced', variable=rate, value=10) rdioOne.grid(column=0, row=0) rdioTwo.grid(column=0, row=1) rdioThree.grid(column=0, row=2)
Add a comment
Know the answer?
Add Answer to:
X Programming Exercise 8.6 | Instructions breezypythongui.py taxformwithgui.py + Q Desktop + ve Add radio button...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Instructions: Add radio button options for filing status to the tax calculator program of Project 1....

    Instructions: Add radio button options for filing status to the tax calculator program of Project 1. The user selects one of these options to determine the tax rate. The Single option’s rate is 20%. The Married option is 15%. The Divorced option is 10%. The default option is Single. Be sure to use the field names provided in the comments in your starter code. Given Code: It also gives us the code for a module but that is like 3000...

  • Add radio button options for filing status to the tax calculator program of Project 1. The...

    Add radio button options for filing status to the tax calculator program of Project 1. The user selects one of these options to determine the tax rate. The Single option’s rate is 20%. The Married option is 15%. The Divorced option is 10%. The default option is Single. For the calculations from Project 1, I was gonna use this. TAX_RATE = 0.20 STANDARD_DEDUCTION = 10000.0 DEPENDENT_DEDUCTION = 3000.0 # Request the inputs gross Income = float(input("Enter the gross income: "))...

  • Programming Exercise 8.3 | Instructions Write a GUI-based program that allows the user to convert temperature...

    Programming Exercise 8.3 | Instructions Write a GUI-based program that allows the user to convert temperature values between degrees Fahrenheit and degrees Celsius. The interface should have labeled entry fields for these two values. breezypythongui.py temperatureconvert... + 1 2 File: temperatureconverter.py 3 Project 8.3 4 Temperature conversion between Fahrenheit and Celsius. 5 Illustrates the use of numeric data fields. 6 • These components should be arranged in a grid where the labels occupy the first row and the corresponding fields...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT