pacho_the_python

Untitled

Sep 12th, 2021
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. nylon = int(input())
  2. paint = int(input())
  3. thinner = int(input())
  4. price_per_hour = int(input())
  5.  
  6. nylon_price = (nylon + 2) * 1.50
  7. paint_price = (paint + paint * 10 / 100) * 14.50
  8. thinner_price = thinner * 5
  9. shopp_bill = nylon_price + paint_price + thinner_price + 0.40
  10. work_salary = (shopp_bill * 30 / 100) * price_per_hour
  11. total_bill = shopp_bill + work_salary
  12. print(total_bill)
Advertisement
Add Comment
Please, Sign In to add comment