Question

Write a Python program that computes the income tax for an individual. The program should ask...

Write a Python program that computes the income tax for an individual. The program should ask the user to enter the total taxable income for the year. The program then uses the tax bracket (as shown below) to calculate the tax amount. This is based on a progressive income tax system which is how income tax is calculated in the U.S. As a result, this for example means that only income above $500,001 is taxed at 37%. Income of lower levels are taxed at their given marginal rate.

10% on taxable income from $0 to $9,525,

plus 12% on taxable income over $9,526 to $38,700,

plus 22% on taxable income over $38,701 to $82,500,

plus 24% on taxable income over $82,501 to $157,500,

plus 32% on taxable income over $157,501 to $200,000,

plus 35% on taxable income over $200,001 to $500,000,

plus 37% on taxable income over $500,001 or more

Homework Answers

Answer #1

income = int(input("Enter the total taxable income: "))
tax = 0

if income > 500000:
tax = (income - 500000)*(0.37)
income -= 500000
if income > 200000:
tax += (income - 200000)*(0.35)
income -= 200000
if income > 157500:
tax += (income - 157500)*(0.32)
income -= 157500
if income > 87500:
tax += (income - 87500)*(0.24)
income -= 87500
if income > 38700:
tax += (income - 38700)*(0.22)
income -= 38700
if income > 9525:
tax += (income - 9525)*(0.12)
income -= 9525
tax += income*0.1
print("Tax =", tax)

Know the answer?
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
Similar Questions
Write a Python program that computes the income tax for an individual. The program should ask...
Write a Python program that computes the income tax for an individual. The program should ask the user to enter the total taxable income for the year. The program then uses the tax bracket (as shown below) to calculate the tax amount. This is based on a progressive income tax system which is how income tax is calculated in the U.S. As a result, this for example means that only income above $500,001 is taxed at 37%. Income of lower...
Arabella Cunningham is 24 years old and single, lives in an apartment, and has no dependents....
Arabella Cunningham is 24 years old and single, lives in an apartment, and has no dependents. Last year she earned $44,900 as a sales representative for Planning Associates; $3,143 of her wages was withheld for federal income taxes. In addition, she had interest income of $153. The standard deduction in 2018 was $12,000 for single. Please calculate the taxable income, tax liability, and tax refund or owed. The appropriate tax rate schedule is shown below: Taxable Income Tax Rate $0—$9,525...
Use the following tax table to answer this question: Taxable Income Tax Rate $ 0 -...
Use the following tax table to answer this question: Taxable Income Tax Rate $ 0 - 9,525 10 % 9,525 - 38,700 12 38,700 - 82,500 22 82,500 - 157,500 24 157,500 - 200,000 32 200,000 - 500,000 35 500,000 + 37 Andrews Dried Fruit, LLC has taxable income of $630,000. How much does it owe in taxes? Multiple Choice $141,750 $154,800 $198,790 $$220,500 $$233,100
Calculating Taxable Income Taxable income Rate $0 — $9,525 10.0% $9,526 — $38,700 12.0% $38,701 —...
Calculating Taxable Income Taxable income Rate $0 — $9,525 10.0% $9,526 — $38,700 12.0% $38,701 — $82,500 22.0% $82,501 — $157,500 24.0% $157,501 — $200,000 32.0% $200,001 — $500,000 35.0% $500,001 or more 37% Using the previous tax table, compute the tax liability for the individual in the scenario presented, rounding the liability to the nearest dollar. In addition, use the dropdown lists to identify the marginal tax rate and average tax rate for the individual in the scenario. Rina’s...
                                          &nb
                                                      2018 Individual Tax Rates                                                            Single Individuals If Your Taxable Income Is You Pay This Amount on the Base of the Bracket Plus This Percentage on the Excess over the Base (Marginal Rate) Average Tax Rate at Top of Bracket Up to $9,525 $0 10.0 % 10.0 % $9,525 - $38,700 952.50 12.0 11.5 $38,700 - $82,500 4,453.50 22.0 17.1 $82,500 - $157,500 14,089.50 24.0 20.4 $157,500 - $200,000 32,089.50 32.0 22.8 $200,000 - $500,000 45,689.50 35.0 30.1 Over...
Note: This problem is for the 2018 tax year. David R. and Ella M. Cole (ages...
Note: This problem is for the 2018 tax year. David R. and Ella M. Cole (ages 39 and 38, respectively) are husband and wife who live at 1820 Elk Avenue, Denver, CO 80202. David is a self-employed consultant specializing in retail management, and Ella is a dental hygienist for a chain of dental clinics. David earned consulting fees of $145,000 in 2018. He maintains his own office and pays for all business expenses. The Coles are adequately covered by the...
Write a Java program that will calculate tax for the employees of a company called XYZ....
Write a Java program that will calculate tax for the employees of a company called XYZ. The main menu of the tax calculation program is as follows. Welcome to Tax Management System of XYZ Please select one of the following options: 1. Calculate tax 2. Search tax 3. Exit When 1 is selected then the program will calculate the tax of an employee based on the annual income of the employee and tax rates on the income. The tax rates...
2013 Individual Tax Rates Single Individuals If a Corporation's Taxable Income Is It Pays This Amount...
2013 Individual Tax Rates Single Individuals If a Corporation's Taxable Income Is It Pays This Amount on the Base of the Bracket Plus This Percentage on the Excess over the Base (Marginal Rate) Average Tax Rate at Top of Bracket Up to $8,925 $0 10.0% 10.0% $8,925 - $36,250 892.50 15.0 13.8 $36,250 - $87,850 4,991.25 25.0 20.4 $87,850 - $183,250 17,891.25 28.0 24.3 $183,250 - $398,350 44,603.25 33.0 29.0 $398,350 - $400,000 115,586.25 35.0 29.0 Over $400,000 116,163.75 39.6...
2013 Individual Tax Rates Single Individuals If a Corporation's Taxable Income Is It Pays This Amount...
2013 Individual Tax Rates Single Individuals If a Corporation's Taxable Income Is It Pays This Amount on the Base of the Bracket Plus This Percentage on the Excess over the Base (Marginal Rate) Average Tax Rate at Top of Bracket Up to $8,925 $0 10.0% 10.0% $8,925 - $36,250 892.50 15.0 13.8 $36,250 - $87,850 4,991.25 25.0 20.4 $87,850 - $183,250 17,891.25 28.0 24.3 $183,250 - $398,350 44,603.25 33.0 29.0 $398,350 - $400,000 115,586.25 35.0 29.0 Over $400,000 116,163.75 39.6...
Petunia's (filing status: single and she is her only dependent) tax calculations are as follows assuming...
Petunia's (filing status: single and she is her only dependent) tax calculations are as follows assuming a 2018 tax year). 2018 standard deduction amount is $6,500 and the exemption amount for 2018 is $4150. Petunia is single and will claim herself as an exemption. She has a house mortgage interest amount of $4,300, property taxes of $3,900, and made $4,950 in charitable contributions during the year. All these are itemized deductions. Calculate her (progressive) income tax liability:             Wages, salaries,...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT