Search for question
Question

Question 23 20 pts Desk Essentials Co., a retailer that sells stationery products, has hired you to automate the checkout process for their customers. Your task is to write a simple program that helps customers to keep track of the cost of their basket while they shop and at checkout. The file below contains information on products available to buy at the store: Products info ↓ (Click to download) Customers in possession of a student ID card are entitled to a 6% discount on any writing instrument (e.g. pencil) and an 8% discount on desk accessories and paper products. Write a program that interactively prompts the customer to • Select which product they want to add to the basket and in which quantity • Choose whether they have concluded their shopping or they wish to add additional products to the basket At the end of the shopping, the program should display a final receipt indicating the cost and quantity of each product selected as well as the total cost of the basket. Hint: You can use the function input() to get data from the customer. Answer submission: Work on your code answer in a Jupyter Notebook and copy-paste your code in the text-box area below.

Fig: 1