Question: IN PYTHON: ComputeTax.py, gives a program to compute tax. Write a function for computing tax using the following header: def computeTax(status, taxableIncome): Use this function

IN PYTHON: ComputeTax.py, gives a program to compute tax. Write a function for computing tax using the following header:

def computeTax(status, taxableIncome):

Use this function to write a program that prints a tax table for taxable income from $50,000 to $60,000 with intervals of $100 for all four statuses, as follows (sample uses $50 increments instead of $100.):

Taxable Single Married Married Head of Income Joint Separate a House 50000 8688 6665 8688 7352 50050 8700 6673 8700 7365 ... 59950 11175 8158 11175 9840 60000 11188 8165 11188 9852

Tax rates are dependent on income and filing status. Here's the tax rate per situation::

tax rate | Single | Married, filing jointly | Married, filing separate | Head of Household

10% $0 $8,350 $0 $16,700 $0 $8,350 $0 $11,950
15% $8,351 $33,950 $16,701 $67,900 $8,351 $33,950 $11,951 $45,500
25% $33,951 $82,250 $67,901 $137,050 $33,951 $68,525 $45,501 $117,450
28% $82,251 $171,550 $137,051 $208,850 $68,526 $104,425 $117,451 $190,200
33% $171,551 $372,950 $208,851 $372,950 $104,426 $186,475 $190,201 $372,950

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!