Sichanov

34

Jan 15th, 2021
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. dog_number = int(input())
  2. other_animals = int(input())
  3. dog_food = 2.5
  4. other_animals_food = 4
  5. dog_food_price = dog_food * dog_number
  6. other_animal_food_price = other_animals_food * other_animals
  7. total = dog_food_price + other_animal_food_price
  8. print(total)
Advertisement
Add Comment
Please, Sign In to add comment