Computers and Technology
Computers and Technology, 06.12.2019 00:31, Shlabo

The function process_order takes as argument the customer's shopping list dictionary shopping and stock & price dictionaries. this function does three tasks: a. print number of items sold for each item where stock quantity is more than or equal to sell quantity. b. update the store inventory for each item sold to the customer and only include in the total price actual items sold to the customer if the item is available in the store. that is, if the item’s value in stock is 0, the customer is no longer sold that item and is not charged for it. c. print the total cost of the sale. example output: you bought 2 banana you bought 6 orange cost of items sold is: 5.5

answer
Answers: 1

Similar questions

Do you know the correct answer?
The function process_order takes as argument the customer's shopping list dictionary shopping and st...

Questions in other subjects:

Konu
Mathematics, 13.07.2020 23:01
Konu
Mathematics, 13.07.2020 23:01