Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Homework help
#1
Look up the basic 2019 federal income tax rates for single filers by going to this
site at nerdwallet.com and expanding the section for Single Filers. Write pseudocode for
computing an individuals basic tax rate using the rightmost two columns of that table. Test your
algorithm using these two values:
• $10,000 per year should result in $1006 taxes owed.
[Mathematically, the formula is $970+($10,000-$9700)*0.12]
• $100,000 per year should result in $18,174.50 taxes owed.
[Mathematically, the formula is $14382.50+($100,000-$84,200)*0.24]

I just start to learn how to code in Python but this question got me stuck for hours.
I hope you guys can help me with this, thank you
This is the site https://www.nerdwallet.com/blog/taxes/fe...-brackets/
Reply
#2
Please show the code for what you have tried so far.
Also, specify where you are having an issue.
Were glad to help, but won't write the code for you.
Reply
#3
The assignment does not ask you to write any Python. You are to look up the information then write pseudocode (basically in plain language the steps you would take) to make the calculations, then show the results of steps in two cases.

No python needed (yet!)
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020