Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider an ecommerce site, there are unlimited items and 3 categories (bread, biscuits, chips), the details of the items are saved as (item id,

Consider an ecommerce site, there are unlimited items and 3 categories (bread, biscuits, chips), the details

Consider an ecommerce site, there are unlimited items and 3 categories (bread, biscuits, chips), the details of the items are saved as (item id, item_name, category, color, price, discount, month of purchase). Create a dictionary for the 10 items. Take values such that below questions can give output. a) Define a function that takes the category name from the user, and display the items of that category having red color in sorted order of the discount.(6 M) b) Define a function which creates a random basket of 3 items, one from cach category, selection is made on maximum discount. (6 M) c) Plot the bar chart showing the total purchase of each category month_wisc. (8 M)

Step by Step Solution

3.44 Rating (147 Votes )

There are 3 Steps involved in it

Step: 1

lets break down each part of your request a Define a function that takes the category name from the user and displays the items of that category with ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Using Excel & Access for Accounting 2010

Authors: Glenn Owen

3rd edition

1111532672, 978-1111532673

More Books

Students also viewed these Programming questions

Question

At which conferences do students regularly present?

Answered: 1 week ago

Question

=+61. Refer to Exercise 46 of Section 7.4.

Answered: 1 week ago

Question

=+60. Refer to Exercise 42 of Section 7.4.

Answered: 1 week ago