Sichanov

rer

Jan 10th, 2021
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. numbers_of_dogs = int(input())
  2. numbers_of_other_animals = int(input())
  3. cost_dog = numbers_of_dogs * 2.50
  4. cost_other_animal = numbers_of_other_animals * 4
  5. total_cost = cost_dog + cost_other_animal
  6.  
  7.  
  8. print(f"{total_cost} lv.")
Advertisement
Add Comment
Please, Sign In to add comment