Ddimov90

pet_shop_08

Sep 18th, 2025
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | Source Code | 0 0
  1. dog_food = int(input())
  2. cat_food = int(input())
  3.  
  4. dog_food_cost = dog_food * 2.5
  5. cat_food_cost = cat_food * 4
  6.  
  7. total = dog_food_cost + cat_food_cost
  8.  
  9. print(f"{total} lv.")
  10.  
  11.  
Advertisement
Add Comment
Please, Sign In to add comment