Advertisement
exDotaPro

2019_6_july_1_repainting

Feb 1st, 2020
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.38 KB | None | 0 0
  1. nylon_sqr_m = int(input())
  2. paint_l = int(input())
  3. diluent_l = int(input())
  4. work_hours = int(input())
  5.  
  6. nylon_price = (nylon_sqr_m + 2) * 1.50
  7. paint_price = paint_l * 1.10 * 14.50
  8. diluent_price = diluent_l * 5
  9.  
  10. cost = nylon_price + paint_price + diluent_price + 0.40
  11. workers_salary = cost * 0.30 * work_hours
  12. total = cost + workers_salary
  13.  
  14. print(f'Total expenses: {total:.2f} lv.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement