Jan-15-2020, 02:07 AM
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/
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/