Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
My code needs to have the following elements: calculate the weekly average tax withholding for a customer, given the following weekly income guidelines: Income less than $500: tax rate 10%; Incomes greater than/equal to $500 and less than $1500: tax rate 15%; Incomes greater than/equal to $1500 and less than $2500: tax rate 20%; Incomes greater than/equal to $2500: tax rate 30%. Store the income brackets and rates in a dictionary. Need a loop that prompts the user for an income, looks up the tax rate from the dictionary, and ***prints the income, tax rate, and tax***. The loop runs indefinitely until the user enters a loop termination sentinel. My code works correctly EXCEPT it does not print the "tax rate"(%) as required
def tax(income):
di={0:10,1:15,2:20,3:30}
total_tax=0
if(income<500):
total_tax=di[0]*income
elif(income<1500 and income >=500):
total_tax=di[1]*income
elif(income<2500 and income >=1500):
total_tax=di[2]*income
else:
total_tax=di[3]*income
return total_tax
print("Enter income to calculate tax.")
n=int(input('Enter income :'))
while(n!=-1):
print("Calculated tax is : ","%.2f"%tax(n))
print('Bye')
You may choose one area of the company, such as a manufacturing plant or product design, to focus on if you can make a strong case. Your recommendations should have the following features.
What actions would you recommend to increase seat belt use, especially by young drives? Why do you think those actions would be successful?
Define restriction fragment length polymorphism (RFLP) analysis. The information generated from RFLP is useful in criminal investigations. Suppose some DNA samples are taken from a crime scene, suspect, and the victim.
Suggest two (2) benefits that unions can provide for an employer. Justify your response. Examine two (2) legal responsibilities that employers.
Annual fixed costs are $24,000. If they sell 10 units less than break even, how much loss would the company recognize on its income statement?
People are continuously bombarded by physical and social stimuli in the environment. Since they are unable to fully comprehend all this information, they selectively attend to subsets of environmental stimuli that include salient or important info..
Describe an Ineffective leader: Then, List up to five specific things that the person (your leader) did or said that made you see him or her as a POOR leader?
What are your thoughts on couples using family members to be the surrogate mothers? Does it make a difference if the couple is using their own fertilized egg versus the egg of the surrogate?
Why must poles and zeros occur in complex conjugate pairs?" is the question. the book that i am using is "fundamentals of digital signal processing
4 page paper on the following items about SAP the ERP system Proposed ERP architecture ERP Components and Database Requirements
Reflecting on your own personality, respond to this project in an essay, addressing each item below. 1. Describe how emotional intelligence and understanding personality types are important for developing relationships.
The original posts to the discussion are due according to SEU Discussion Board policy, which gives our team ample opportunity to engage in dialogue, probe, and contribute to the threads of the conversations.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd