Question

In: Computer Science

We will use El Paso information for our python script to compute property taxes for a...

We will use El Paso information for our python script to compute property taxes for a home. We will default and use the Ysleta Independent School District tax rate for our school (more complete lookups will allow you to compute taxes based on exact address.) The taxing entities, and their respective tax rates per $100 is shown below:

Jurisdiction Total Rate ($) per $100

YSLETA ISD 1.3533

CITY OF EL PASO 0.907301

COUNTY OF EL PASO 0.488997

UNIVERSITY MEDICAL CENTER OF EL PASO 0.267747

EL PASO COMMUNITY COLLEGE 0.141167

Python Script Instructions: Create a loop that will allow the user to input a property value and calculate its related tax payment. Output property information as described below. The user will be asked to continue for another property or quit.

This will be a script broken into functions. It must include (may include more):

• Main function • Calculate property tax function

• Output information function called from Calculate function. Output will include the amount for each jurisdiction, and amount owed per year.

Other important information: We will assume each property value is eligible for a 10% Homestead Exemption of the property’s value. For example, if a property value is $100,000, the person would receive an exemption of $10,000. Their property taxes would be calculated on $90,000.

Don’t forget the rate is applied per $100 (i.e. you have to divide the amount for each jurisdiction you calculated by 100)

Sample calculation: Property value: $175,000 Yearly taxes owed: $4,974.66

Solutions

Expert Solution

Program:

Output:

Enter Property value: $175000
YSLETA ISD $2131.45
CITY OF EL PASO $1429.00
COUNTY OF EL PASO $770.17
UNIVERSITY MEDICAL CENTER OF EL PASO $421.70
EL PASO COMMUNITY COLLEGE $222.34
Yearly taxes owed: $4974.66
continue for another property or quit?quit

N.B. Whether you face any problem or need any modification then share with me in the comment section, I'll happy to help you.

Text version of code:

# function to calculate property tax
def calculate_property_tax(val):
    exemption = 0.1 * val
    val = val - exemption
    y = 1.3533 * (val/100)
    city = 0.907301 * (val/100)
    country = 0.488997 * (val/100)
    umc = 0.267747 * (val/100)
    cc = 0.141167 * (val/100)
    tax = y + city + country + umc + cc
    output(y, city, country, umc, cc, tax)


# function to display the information about property tax
def output(y, city, country, umc, cc, tax):
    print('YSLETA ISD $%5.2f'%y)
    print('CITY OF EL PASO $%5.2f'%city)
    print('COUNTY OF EL PASO $%5.2f'%country)
    print('UNIVERSITY MEDICAL CENTER OF EL PASO $%5.2f'%umc)
    print('EL PASO COMMUNITY COLLEGE $%5.2f'%cc)
    print('Yearly taxes owed: $%5.2f'%tax)


f = ''
while f != 'quit':
    val = int(input('Enter Property value: $'))
    calculate_property_tax(val)
    f = input('continue for another property or quit?')

Related Solutions

(1) a city levies property taxes to use for general operations of the city in the...
(1) a city levies property taxes to use for general operations of the city in the amount of $1,000,000 for calendar year 2017. it expects to collect $950,000 during the year, $30,000 during the first 60 days of 2018, and $15,000 during the remainder of 2018. it does not expect to collect the remaining $5,000. how much property tax revenue should it recognize for the year 2017? a- $1,000,000 b- $980,000 c- $995,000 d-$990,000 (2) which of the following is...
please use python to solve this problem. Math and String operations Write a script to perform...
please use python to solve this problem. Math and String operations Write a script to perform various basic math and string operations. Use some functions from Python's math module. Generate formatted output. Basic math and string operations Calculate and print the final value of each variable. a equals 3 to the power of 2.5 b equals 2 b equals b + 3 (use +=) c equals 12 c = c divided by 4 (use /=) d equals the remainder of...
Use the percentage method to compute the federal income taxes to withhold from the wages or...
Use the percentage method to compute the federal income taxes to withhold from the wages or salaries of each employee. If an amount is zero, enter "0". Round your calculations and final answers to the nearest cent. Click here to access the Table of Allowance Values. Click here to access the Percentage Method Tables. Employee No. Employee Name Marital Status No. of Withholding Allowances Gross Wage or Salary Amount to Be Withheld 1 Amoroso, A. M 5 $1,610 weekly $...
Use the percentage method to compute the federal income taxes to withhold from the wages or...
Use the percentage method to compute the federal income taxes to withhold from the wages or salaries of each employee. If an amount is zero, enter "0". If required, round your calculations and final answers to the nearest cent. Click here to access the Table of Allowance Values. Click here to access the Percentage Method Tables. Employee No. Employee Name Marital Status No. of Withholding Allowances Gross Wage or Salary Amount to Be Withheld 1 Amoroso, A. M 4 $1,610...
Use the percentage method to compute the federal income taxes to withhold from the wages or...
Use the percentage method to compute the federal income taxes to withhold from the wages or salaries of each employee. If an amount is zero, enter "0". If required, round your calculations and final answers to the nearest cent. Click here to access the Table of Allowance Values. Click here to access the Percentage Method Tables. Employee No. Employee Name Marital Status No. of Withholding Allowances Gross Wage or Salary Amount to Be Withheld 1 Skymer, A. M 4 $...
Use the percentage method to compute the federal income taxes to withhold from the wages or...
Use the percentage method to compute the federal income taxes to withhold from the wages or salaries of each employee. If an amount is zero, enter "0". Round your calculations and final answers to the nearest cent. Click here to access the Table of Allowance Values. Click here to access the Percentage Method Tables. Employee No. Employee Name Marital Status No. of Withholding Allowances Gross Wage or Salary Amount to Be Withheld 1 Amoroso, A. M 5 $1,610 weekly $...
How do we use our knowledge of edge effects to plan the reserves? What information do...
How do we use our knowledge of edge effects to plan the reserves? What information do you need?
how can we use cryptography libraries in Python
how can we use cryptography libraries in Python
Use (a) the percentage method and (b) the wage-bracket method to compute the federal income taxes...
Use (a) the percentage method and (b) the wage-bracket method to compute the federal income taxes to withhold from the wages or salaries of each employee. Enter all amounts as positive numbers. Round your calculations and final answers to the nearest cent. . Table of Allowance Values for 2017 Weekly 77.90 Biweekly 155.80 Semimonthly 168.80 Monthly 337.50 Quarterly 1,012.50 Semiannual 2,025.00 Annual 4,050.00 Daily/Misc. 15.60 the Percentage Method Tables. the Wage-Bracket Method Tables. Amount to Be Withheld Employee Marital Status...
short answers (complete sentences are not required) Is it appropriate to use our methods to compute...
short answers (complete sentences are not required) Is it appropriate to use our methods to compute confidence intervals or do a hypothesis test if you know the variable is approximately normally distributed, with no outliers and the sample size is 18? Is it appropriate to use our methods to compute confidence intervals or do a hypothesis test if you know the variable is highly skewed with no outliers and the sample size is 100. Is it appropriate to use our...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT