Python Computer Language 1040 Form ***There needs to be comments/commentary on the code-explaining the code*** Step 1. Calculate the standard deduction. For this problem we are going to assume only two marital status positions. If you are single you get a $12,200 standard deduction. If you filed married you get a $24,400 standard deduction. Step 2. Calculate the adjusted gross income. To calculate your taxes owed, you take the wages and subtract the standard deductions. This gives you your adjusted gross income (AGI). Step 3. Calculate the tax refund or taxes owed. You then use the tables below with the AGI to calculate the taxes. If the taxes are greater then what was paid, you owe taxes. If the taxes were less, you get a refund.
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
Python Computer Language
1040 Form
***There needs to be comments/commentary on the code-explaining the code***
Step 1. Calculate the standard deduction. For this problem we are going to assume only two marital status positions. If you are single you get a $12,200 standard deduction. If you filed married you get a $24,400 standard deduction.
Step 2. Calculate the adjusted gross income. To calculate your taxes owed, you take the wages and subtract the standard deductions. This gives you your adjusted gross income (AGI).
Step 3. Calculate the tax refund or taxes owed. You then use the tables below with the AGI to calculate the taxes. If the taxes are greater then what was paid, you owe taxes. If the taxes were less, you get a refund.
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images