Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please help asap, thank you so much in advance! Create a .py script file called Your Name TaxMan.py Part 1: Declaration of Variables o Put
Please help asap, thank you so much in advance!
Create a .py script file called Your Name TaxMan.py Part 1: Declaration of Variables o Put a comment in your code that says Part 1 o Declare all the variables you will need for this program 0 Do not assign any values in Part 1 Part 2: User Input o Put a comment in your code that says Part 2 Gather the following information from the user: first name, last name, gross income and number of children Part 3: Calculations / Formatting o Put a comment in your code that says Part 3 o Calculate the user's dependency exemption, as follows: number of children times 2,000 Calculate the user's taxable income, as follows: gross income minus dependency exemption Calculate the user's tax due, as follows: taxable income times 15% Format the values that will be displayed, if needed Part 4: Output o Put a comment in your code that says Part 4 Display the information entered by the user, in the following format. It should be formatted exactly as pictured. Of course, the names and amounts will vary, depending upon what the user enters. X os. C:\Windows\system32\cmd.exe Enter first name: George Enter last name: Washington Enter your gross income : 56789.12 How many children do you have? 3 Name : George Washington Gross income: $ 56789.12 Number of Children: 3 Dependency exemption: $ 6000.00 Taxable income: $ 50789.12 Tax due: $ 2618.37 Part 5: Say bye o Put a comment in your code that says Part 5 o display a message to which says: Goodbye from (Fill in the blank with your full name.) Submit the assignment as follows o Submit the .py file in Canvas o I do not give credit for code that does not run or that crashes while it runs. If you have problems running your code, send me the .py file and in the body of the email tell me the error message you get when you try to run the code. Within 24 hours I will email you back and tell you how to fix itStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started