Advertisement
rozalina1988

Food_delivery

Oct 21st, 2024
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.47 KB | Software | 0 0
  1. CHICKEN = 10.35
  2. FISH = 12.40
  3. VEGGI = 8.15
  4. DELIVERY = 2.50
  5.  
  6. chicken_orders = int(input())
  7. fish_orders = int(input())
  8. veggi_orders = int(input())
  9.  
  10. price_of_chiken_orders = chicken_orders * CHICKEN
  11. price_of_fish_orders = fish_orders * FISH
  12. price_of_veggi_orders = veggi_orders * VEGGI
  13. total_order = price_of_chiken_orders + price_of_fish_orders + price_of_veggi_orders
  14. dessert = 0.20 * total_order
  15.  
  16. price_of_all = total_order + dessert + DELIVERY
  17. print(price_of_all)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement