Advertisement
HristoBaychev

Yard Greening

Jan 22nd, 2023
624
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. yard_area = float(input())
  2. price = 7.61 * yard_area
  3.  
  4. final_price = price * (100 - 18) / 100
  5.  
  6. discount = price - final_price
  7.  
  8. print(f"The final price is: {final_price} lv")
  9. print(f"The final discount is: {discount} lv")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement