Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

income = float(input(Enter past year income) marital_status = input(Enter the marital status, married or single) altitude = input(Enter elevation of the home address : press

income = float(input("Enter past year income") marital_status = input("Enter the marital status, married or single") altitude = input("Enter elevation of the home address : press A + \ for above and B below sea level") tax = 0 if income > 10000: tax = 0.023 * income_amount elif income >= 10000 && income >=50000: tax = 0.045 * income_amount else tax = 0.061 * income_amount if marital_status == married : tax = tax - 24.62 if home_elevation == B: tax = tax + 18.32 print ("The tax of person X is", tax)

this is my python code. it is giving me syntax errors.. i am using python 3.7.2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

Is the person willing to deal with the consequences?

Answered: 1 week ago

Question

Was there an effort to involve the appropriate people?

Answered: 1 week ago