Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- num_table = int(input())
- l_table = float(input())
- w_table = float(input())
- cover_table = num_table * (l_table + 2 * 0.30) * (w_table + 2 * 0.30)
- care_table = num_table * (l_table / 2) * (l_table / 2)
- price_usd = cover_table * 7 + care_table * 9
- price_lev = price_usd * 1.85
- print(f"{price_usd:.2f} USD")
- print(f"{price_lev:.2f} BGN")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement