Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vegetables_bg = float(input())
- fruits_bg = float(input())
- vegetables_kg = float(input())
- fruits_kg = float(input())
- results = ((vegetables_bg * vegetables_kg) + (fruits_bg * fruits_kg)) / 1.94
- print(f'{results:.2f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement