Lyubohd

01. Easter Lunch

Jun 19th, 2021
565
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. sweet_bread = int(input())
  2. eggs_board = int(input())
  3. cookie = int(input())
  4.  
  5. eggs_paint = eggs_board * 12
  6.  
  7. sweet_bread_price = sweet_bread * 3.2
  8. eggs_price = eggs_board * 4.35
  9. cookies_price = cookie * 5.4
  10. egg_paint_price = eggs_paint * 0.15
  11.  
  12. total_price = sweet_bread_price + eggs_price + cookies_price + egg_paint_price
  13. print(f"{total_price:.2f}")
  14.  
RAW Paste Data