Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pen_count = int(input())
- markers_count = int(input())
- detergent_lt = int(input())
- discount_percent = int(input())
- price_pen = pen_count * 5.80
- markers_price = markers_count * 7.20
- detergent_price = detergent_lt * 1.20
- all_price = price_pen + markers_price + detergent_price
- discount_sum = all_price * (discount_percent / 100)
- total_sum = all_price - discount_sum
- print(total_sum)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement