webbersof

Landscaping

Oct 29th, 2022
894
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.39 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_for_landscaping_with_discount = price_for_landscaping_the_whole_yard - discount
  5.  
  6. print(f"The final price is: {final_price_for_landscaping_with_discount} lv.")
  7. print(f"The discount is: {discount} lv.")
Advertisement
Add Comment
Please, Sign In to add comment