DiYane

Yard greetning

Aug 3rd, 2021 (edited)
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. kv_m = float(input())
  2. total_price = kv_m * 7.61
  3. dicount = 0.18 * total_price
  4. total_sum = total_price - dicount
  5. print(f"The final price is: {total_sum} lv.")
  6. print(f"The discount is: {dicount} lv.")
Advertisement
Add Comment
Please, Sign In to add comment