Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- veggies_price = float(input())
- fruit_price = float(input())
- kg_veggies = int(input())
- kg_fruits = int(input())
- total = (veggies_price * kg_veggies + fruit_price * kg_fruits) / 1.94
- print(f"{total:.2f}")
Advertisement
Add Comment
Please, Sign In to add comment