Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- priceVegetables = float(input())
- priceFruits = float(input())
- quantityVegetables = float(input())
- quantityFruits = float(input())
- sumVegetables = priceVegetables*quantityVegetables
- sumFruits = priceFruits*quantityFruits
- totalSum = sumFruits+sumVegetables
- sumInEuro = (totalSum / 1.94)
- print(f"{sumInEuro:.15n}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement