Dimitar46

9.Yard Greening

Jun 6th, 2022 (edited)
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. metersToBeGreened = float(input())
  2. priceForGreening = metersToBeGreened * 7.61
  3. discount = 0.18 * priceForGreening
  4. print(f"The final price is: {priceForGreening-discount} lv.\nThe discount is: {discount} lv.")
  5.  
Add Comment
Please, Sign In to add comment