Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # кв.метри, които трябва да озеленим
- # общо цена за озеленяване = кв. метри * 7.61
- # отстъпка = общо цена за озеленяване * 0.18 (18%)
- # принт
- square_meters_for_greening = float(input())
- total_price = square_meters_for_greening * 7.61
- discount = total_price * 0.18
- final_price = total_price - discount
- print(f'The final price is: {final_price:.2f} lv.')
- print(f'The discount is: {discount:.2f} lv.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement