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
- price_markers = markers_count * 7.20
- price_detergent = detergent_lt * 1.20
- total_price = price_pen + price_markers + price_detergent
- discount = total_price * (discount_percent / 100)
- sum_with_discount = total_price - discount
- print(sum_with_discount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement