Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- numbers_of_dogs = int(input())
- numbers_of_other_animals = int(input())
- cost_dog = numbers_of_dogs * 2.50
- cost_other_animal = numbers_of_other_animals * 4
- total_cost = cost_dog + cost_other_animal
- print(f"{total_cost} lv.")
Advertisement
Add Comment
Please, Sign In to add comment