PYTHON (Financial application: print a tax table) Listing 4.7, ComputeTax.py, gives a program to compute tax. Write a function for computing tax…

PYTHON (Financial application: print a tax table) Listing 4.7, 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 $50 for all four statuses, as follows: Taxable Income 50000 50050 … 59950 60000 Single 8688 8700 11175 11188 Married Married Joint Separate 6665 8688 6673 8700 8158 11175 8165 11188 Head of a House 7352 7365 9840 9852

Leave a Reply