The United States federal personal income tax is calculated based on filing status and taxable income....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The United States federal personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers, married filing jointly or qualified widow(er), married filing separately, and head of household. To simplify the problem, we assume that the tax rates for single status and married filing separately status are the same, and the tax rates for married filing jointly status and head of household status are the same. The table below shows a simplified version of rate details (i.e., this is not the real rate table). Here are two examples to help you understand how to use the rate table. 1) If you are single with a taxable income of $20,000, the first $9,700 is taxed at 10% and the remaining amount is taxed at 12%.so your total tax is tiered as $9.700*10% + ($20,000-$9.700) *12%. 2) If you are single with a taxable income of $200,000, the first $9.700 is still taxed at 10%. but different rates are applied to income in different brackets and the amount above $160,725 is taxed at 32%, so your total tax is tiered as $9.700* 10% + ($39,475 - $9.700) *12% + ($84,200-$39,475) "22% + ($160,725 - $84,200) "24% + ($200,000-$160,725) "32%. Marginal Tax Rate 10% 12% 22% 24% 32% Single $0-$9,700 $9,701-$39,475 $39,476 - $84.200 $84,201 - $160,725 $160,726 + Married Filing Separately $0-$9,700 $9,701-$39,475 $39,476-$84,200 $84,201-$160,725 $160,726 + Married Filing Jointly or Qualifying Widow(er) Head of Household S$0-$19,400 $0-$19,400 $19,401-$78,950 $19,401 - $78,950 $78,951-$168,400 $78,951-$168,400 $168,401-$321,450 $168,401-$321,450 $321,451+ $321,451+ Create a Python program that calculates a user's tax based on the user's income level and tax filing status. Requirements: > Ask user to enter a taxable income and tax filing status. Note: you must offer users 4 tax statuses. For example, ask user to enter 1 for single. 2 for married filing separately, 3 for married filing jointly or qualified widow(er), and 4 for head of household. For a tax filing status, you need to use multi-level if-elif-else statements to figure out the tax. > Display a message summarizing the user's tax status, income, and tax amount in proper formats. Fix any syntax errors and test your code if you can. For example, for a single with income $200,000, the tax is $45.316.5; with income $100,000, the tax is $18.174.5; with income $60,000, the tax is $9,058.5: with income $20,000, the tax is $2.206.0. For a married-jointly status with income $400,000, the tax is $90,633; with income $200,000, the tax is $36,349: with income $100,000, the tax is $13.717; with income $20,000, the tax is $2,012. Save your file (especially if you can't run it). Submit the python file through Canvas for grading. Check the rubric on Canvas. The United States federal personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers, married filing jointly or qualified widow(er), married filing separately, and head of household. To simplify the problem, we assume that the tax rates for single status and married filing separately status are the same, and the tax rates for married filing jointly status and head of household status are the same. The table below shows a simplified version of rate details (i.e., this is not the real rate table). Here are two examples to help you understand how to use the rate table. 1) If you are single with a taxable income of $20,000, the first $9,700 is taxed at 10% and the remaining amount is taxed at 12%.so your total tax is tiered as $9.700*10% + ($20,000-$9.700) *12%. 2) If you are single with a taxable income of $200,000, the first $9.700 is still taxed at 10%. but different rates are applied to income in different brackets and the amount above $160,725 is taxed at 32%, so your total tax is tiered as $9.700* 10% + ($39,475 - $9.700) *12% + ($84,200-$39,475) "22% + ($160,725 - $84,200) "24% + ($200,000-$160,725) "32%. Marginal Tax Rate 10% 12% 22% 24% 32% Single $0-$9,700 $9,701-$39,475 $39,476 - $84.200 $84,201 - $160,725 $160,726 + Married Filing Separately $0-$9,700 $9,701-$39,475 $39,476-$84,200 $84,201-$160,725 $160,726 + Married Filing Jointly or Qualifying Widow(er) Head of Household S$0-$19,400 $0-$19,400 $19,401-$78,950 $19,401 - $78,950 $78,951-$168,400 $78,951-$168,400 $168,401-$321,450 $168,401-$321,450 $321,451+ $321,451+ Create a Python program that calculates a user's tax based on the user's income level and tax filing status. Requirements: > Ask user to enter a taxable income and tax filing status. Note: you must offer users 4 tax statuses. For example, ask user to enter 1 for single. 2 for married filing separately, 3 for married filing jointly or qualified widow(er), and 4 for head of household. For a tax filing status, you need to use multi-level if-elif-else statements to figure out the tax. > Display a message summarizing the user's tax status, income, and tax amount in proper formats. Fix any syntax errors and test your code if you can. For example, for a single with income $200,000, the tax is $45.316.5; with income $100,000, the tax is $18.174.5; with income $60,000, the tax is $9,058.5: with income $20,000, the tax is $2.206.0. For a married-jointly status with income $400,000, the tax is $90,633; with income $200,000, the tax is $36,349: with income $100,000, the tax is $13.717; with income $20,000, the tax is $2,012. Save your file (especially if you can't run it). Submit the python file through Canvas for grading. Check the rubric on Canvas.
Expert Answer:
Answer rating: 100% (QA)
Certainly I can provide you with a Python program to calculate a users tax based on their income lev... View the full answer
Related Book For
Project Management The Managerial Process
ISBN: 9781260570434
8th Edition
Authors: Eric W Larson, Clifford F. Gray
Posted Date:
Students also viewed these programming questions
-
An interplanetary spacecraft is sent on a Mars flyby mission using a heliocentric Hohmann Transfer from Earth. During Mars approach, the spacecraft passes on the sunlit side of the planet (i.e.,...
-
1. The United States Federal personal income tax is calculated based on filing status and taxable income. There are four filing statuses: single filers (0) , married filing jointly or qualified...
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
What are some Marketing Strategies for Delivering Objectives Polestar (Car company) has used or using?
-
What is the de Broglie wavelength of a red blood cell, with mass 1.00 x 10-11 g, that is moving with a speed of 0.400cm/s? Do we need to be concerned with the wave nature of the blood cells when we...
-
Lambs quarters is a common weed that interferes with the growth of corn. An agriculture researcher planted corn at the same rate in 16 small plots of ground and then weeded the plots by hand to allow...
-
Use the Poisson distribution to approximate the binomial probability \(b(1 ; 100,0.02)\).
-
Suppose that the assets of a bank consist of $500 million of loans to BBB-rated corporations. The PD for the corporations is estimated as 0.3%. The average maturity is three years and the LGD is 60%....
-
Campbell, a single taxpayer, earns $400,000 in taxable income and $2,000 in interest from an investment in State of New York bonds. (Use the U.S. tax rate schedule.) Required: a. How much federal tax...
-
How can I find the exact p-value for each coefficient (p>t )column if the number of observations = 52, df numerator is 3, df denominator is 48, t static is there in the third column. I need to know...
-
Consolidated balance for:Goodwill:Buildings:Equipment:Investment in Sub :Consolidated Net Income:Common Stock: On January 1, 2023, Parent Corp. paid $362,000 in cash to acquire all outstanding common...
-
How does the SSA ensure transparency and oversight in the utilization of funds? Are there specific reporting requirements or mechanisms in place to monitor and evaluate the effectiveness of budget...
-
You are a staff person and overhear the audit senior and manager discussing an immaterial fraud that was discovered by the client. The client does not wish to disclose it to the audit partner or the...
-
Why are not all the company's accounts listed on the Trial Balance?
-
The attached article titled "Unreturned library books can mean jail," mentions that "Iowa law classifies failure to return library materials as which has been excluded from the copy of the article...
-
On the preliminary settlement statement, a certain expense item is shown as POC. Who cares the most about this item, and why?
-
These days, the biggest threats to IT security are from________. a. geeks working on their own and motivated by the desire to gainsome degree of notoriety b. terrorist organizations c. organized...
-
Give codons for the following amino acids: (a) Th (b) Asp (c) Thr
-
Define a white elephant in project management. Provide a real-life example.
-
What aspects of the Arthur Andersen culture contributed to the scandal?
-
Assume you are to command a similar mission. What are two things you would insist on, based on what you learned about Eagle Claw?
-
A construction contract differs from contracts that we generally deal with that focus on an easily defined physical object because the physical object can be examined. How is the object of a...
-
What does the owner contribute to the project and what does the contractor contribute to the project?
-
For what type of project is a line-of-balance schedule particularly suited? Identify specific examples.
Study smarter with the SolutionInn App