write-a-python-script-1

You are to write a python script to compute personal income tax. Your program should prompt the user to enter the filing status and taxable income and compute the tax. Enter 0 for unmarried filers, 1 for married filing jointly, and 2 for head of household: If the user enters invalid input to any of the two input fields, you must trap them and display an error message and end the process (See sample outputs). Continue Next Page….. Note: The calculated income tax must show a $ sign and two decimal places.