Advertisement
GalinaKG

Untitled

Apr 11th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. count_packets_pens = int(input())
  2. count_packets_markers = int(input())
  3. litres_detergent = int(input())
  4. percentage_discount = int(input())
  5. total_sum = count_packets_pens * 5.80 + count_packets_markers * 7.20 + litres_detergent * 1.20
  6. discount = total_sum * (percentage_discount / 100)
  7. sum_with_discount = total_sum - discount
  8.  
  9. print(sum_with_discount)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement