Sichanov

y

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