Ddimov90

vegetable_market_04_03

Sep 21st, 2025
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | Source Code | 0 0
  1. veggies_price = float(input())
  2. fruit_price = float(input())
  3. kg_veggies = int(input())
  4. kg_fruits = int(input())
  5.  
  6. total = (veggies_price * kg_veggies + fruit_price * kg_fruits) / 1.94
  7.  
  8. print(f"{total:.2f}")
  9.  
Advertisement
Add Comment
Please, Sign In to add comment