Advertisement
Spocoman

Easter Lunch

Feb 13th, 2022
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. easter_bread = int(input())
  2. egg_pack = int(input())
  3. cookies = int(input())
  4.  
  5. total_sum = easter_bread * 3.2 + egg_pack * 4.35 + cookies * 5.4 + egg_pack * 0.15 * 12
  6.  
  7. print(f"{total_sum:.2f}")
  8.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement