Answer to Question #270190 in Python for Peaches

Question #270190

Write input, display,

and calculation methods. Your final output should

display all calculated values, including the total

deductions and all defined constants


1
Expert's answer
2021-11-24T00:43:40-0500
#this code is used to find deductions and constants of a company, it calculates salary of individual worker
#input is used to enter name of worker
write_name = input("What is your name: ")
amount_salary = int(input("Enter your salary: "))
#all your deductions, and constants
salary_commission = amount_salary*(0.09+0.15+0.16+0.08)
your_salary = amount_salary - salary_commission

print("Your salary is: ", your_salary)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS