Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- paint = int(input())
- wallpaper = int(input())
- price_of_gloves = float(input())
- price_of_paintbrush = float(input())
- price_of_paint = 21.50 * paint
- price_of_wallpaper = 5.20 * wallpaper
- number_of_gloves = wallpaper * 0.35
- number_of_paintbrushes = paint * 0.48
- total_price_of_gloves = number_of_gloves * price_of_gloves
- total_price_of_paintbrushes = number_of_paintbrushes * price_of_paintbrush
- total_sum = price_of_paint + price_of_wallpaper + total_price_of_gloves + total_price_of_paintbrushes
- delivery_price = total_sum / 15
- print(f"This delivery will cost {delivery_price:2f} lv.")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement