Advertisement
Spocoman

Programming Book

Feb 27th, 2022
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. bookPrice = (float(input()) * 899) + (2 * float(input()))
  2. paperPercent = bookPrice / 100 * float(input())
  3. bookPrice += float(input()) - paperPercent
  4. print(f"Avtonom should pay { bookPrice - bookPrice / 100 * float(input()):.2f} BGN.")
  5.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement