bl00dt3ars

01. Christmas Preparation

Nov 21st, 2020 (edited)
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. paper = int(input()) * 5.8
  2. cloth = int(input()) * 7.2
  3. glue = float(input()) * 1.2
  4. discount = int(input()) / 100
  5.  
  6. price = (paper + cloth + glue) * (1 - discount)
  7.  
  8. print(f"{price:.3f}")
Add Comment
Please, Sign In to add comment