Sichanov

rre

Jan 10th, 2021
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. area = float(input())
  2. sum = 7.61 * area
  3. discount = sum * 0.18
  4. result = sum - discount
  5. print(f"The final price is: {result:.2f} lv.")
  6. print(f"The discount is: {discount:.2f} lv.")
Advertisement
Add Comment
Please, Sign In to add comment