Question: plese answer it asap 7 Develop an interactive python program for a simple super-market application with the following requirements. Item codes and Description (Use dictionary):

 plese answer it asap 7 Develop an interactive python program for

a simple super-market application with the following requirements. Item codes and Description

plese answer it asap

7 Develop an interactive python program for a simple super-market application with the following requirements. Item codes and Description (Use dictionary): 1-> Lux 2-> Cooking oil 3-> Pepper 4-> Sugar 5-> Comfort liquid h Test case:1 Algorithm: a) Start the program. b) Read customer name. c) Read item codes (of items to be purchased). Customers can give the item codes in any order. d) Refer the item_code_description dictionary and add the details i.e. customer name & item description (not the item code) to the purchase_list. e) Repeat steps (a) (b), (c) for 'n' number of customers. Assume 'n' customers will be purchasing in a particular day. f) Print the final purchase_list at the end of the day. g) Also look into the purchase_list and find the item(s) details, which was/were purchased by all customers in a particular day. h) Stop the program. Test case:1 Input: For n=3 customers: Enter customer name: Raju Enter the items purchased: 4,2,3 Enter customer name: Meena Enter the items purchasedi 1,5,2 Enter customer name: A ped Enter the items purchased: 2,1 1-> Lux 2-> Cooking oil 3-> Pepper 4-> Sugar 5-> Comfort liquid Output: Purchase_list=['Cust-Raju', 'Sugar', 'Cooking oil', 'Pepper', 'Cust-Meena', 'Lux', Comfort liquid', 'Cooking oil', 'Cust-Ahmed', 'Cooking oil', 'Lux' ] All three customers have purchased: Cooking oil Note: Print your signature in the output. Run the program for only one time but with different inputs (Other than the given test case

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!