Advertisement
veronikaaa86

06. Repainting

Jul 2nd, 2023
776
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.36 KB | None | 0 0
  1. nylon = int(input())
  2. paint = int(input())
  3. razr = int(input())
  4. hours_workers = int(input())
  5.  
  6. price_nylon = (nylon + 2) * 1.5
  7. price_paint = (paint * 1.1) * 14.5
  8. price_razr = razr * 5
  9.  
  10. sum_materials = price_nylon + price_paint + price_razr + 0.40
  11. sum_workers = (sum_materials * 0.30) * hours_workers
  12. total_sum = sum_materials + sum_workers
  13.  
  14. print(total_sum)
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement