Advertisement
webbersof

Landscaping

Apr 16th, 2022
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.33 KB | None | 0 0
  1. square_meters_for_landscaping = float(input())
  2. price_for_landscaping_the_whole_yard = square_meters_for_landscaping * 7.61
  3. discount = price_for_landscaping_the_whole_yard * 0.18
  4. final_price = price_for_landscaping_the_whole_yard - discount
  5.  
  6. print(f"The final price is: {final_price} lv.")
  7. print(f"The discount is: {discount} lv.")
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement