Computers and Technology, 29.11.2019 00:31 Queenquestion5967
Create a two functions: first called grocery_cost(food), where food can be one item or a list of items from the stock and price dictionaries, the second is called stock_check(stock_list) where a store manager can check if stock numbers are at a minimum value. grocery_cost: loops through the argument food, notes the price, checks the stock, calculates and prints the total cost and changes the stock number. you will need to use a for statement to loop through the items in food and an if statement to check and update the stock (substract one from the stock for each item in the stock).stock_check: loops through each item in the stock dictionary and uses an if-statement to print a statement if stock is less than 5.given: stock_key={'tomato soup': 20,'cheese': 10,'milk': 25,'oreos': 100,'red bull': 0,'apples': 17,'oranges': 4}price_key={'tomato soup': 1.85,'cheese': 3.99,'milk': 4,'oreos': 7.49,'red bull': 0.99,'apples': 0.59,'oranges': 1.29}
Answers: 2
Computers and Technology, 22.06.2019 00:30
Jenny wants to look at row 345 and compare it to row 17. what can she do if she wanted to easily adjust to see both at once?
Answers: 3
Computers and Technology, 22.06.2019 11:00
Which law requires employers to provide safe working environments for their employees? a. civil rights act b. fair labor standards act c. occupational safety and health act d. wagner act
Answers: 1
Computers and Technology, 23.06.2019 14:00
Need ! will choose brainliest! discuss the role of abstraction in the history of computer software.
Answers: 1
Computers and Technology, 23.06.2019 15:30
The processing of data in a computer involves the interplay between its various hardware components.
Answers: 1
Create a two functions: first called grocery_cost(food), where food can be one item or a list of it...
Biology, 30.01.2020 11:47
Mathematics, 30.01.2020 11:47
Social Studies, 30.01.2020 11:47
English, 30.01.2020 11:47