Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bed = float(input())
- cat_toilet = float(input())
- food = cat_toilet * 1.25
- toys = food * 0.5
- doctor = toys * 1.1
- mont_expenses = cat_toilet + food + toys + doctor
- mont_expenses *= 1.05
- total_expenses = mont_expenses * 12 + bed
- print(f'{total_expenses:.2f} lv.')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement