Question
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
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