exDotaPro

2019_2_may_1_food_delivery

Feb 1st, 2020
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.35 KB | None | 0 0
  1. chicken_menu = int(input())
  2. fish_menu = int(input())
  3. vegetarian_menu = int(input())
  4.  
  5. chicken_price = 10.35
  6. fish_price = 12.40
  7. vegetarian_price = 8.15
  8. bill = chicken_menu * chicken_price + fish_menu * fish_price + vegetarian_menu * vegetarian_price
  9. desert = bill * 0.2
  10. delivery = 2.50
  11.  
  12. total = bill + desert + delivery
  13. print(f'Total: {total:.2f}')
Add Comment
Please, Sign In to add comment