Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- days=int(input())
- cooks=int(input())
- cakes=int(input())
- gofreti=int(input())
- pancakes=int(input())
- total=cooks*(days*(cakes*45+gofreti*5.80+pancakes*3.20))
- expense=total/8
- print(f"{(total-expense):.2f}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement