Advertisement
simeonshopov

Repainting

Sep 3rd, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. nailon=int(input())
  2. paint=int(input())
  3. abc=int(input())
  4. hours=int(input())
  5. expenses= (nailon+2)*1.50+paint*1.10*14.50+abc*5+0.40
  6. total_expenses=expenses+hours*expenses*0.30
  7. print('Total expenses:', '%.2f'%total_expenses, 'lv.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement