Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pens = int(input())
- markers = int(input())
- liters = int(input())
- percent = int(input())
- price_pens = pens * 5.80
- price_markers = markers * 7.20
- price_prep = liters * 1.20
- total_price = price_prep + price_markers + price_pens
- final_price = total_price - total_price * (percent / 100)
- print(final_price)
Advertisement
Add Comment
Please, Sign In to add comment