Question: Python List. Tuples, and Dictionaries Create two market tuples with name and sales in three products Tomatos, Potatos, and Onion. Eg: market_tuplel =( Othaim, [200,250,320])

Python
Python List. Tuples, and Dictionaries Create two market tuples with name and

List. Tuples, and Dictionaries Create two market tuples with name and sales in three products Tomatos, Potatos, and Onion. Eg: market_tuplel =( Othaim, [200,250,320]) market_tuple2 =( Panda, [180,400,300]) Part a): Write a program to find the total sales of each supermarket. Find the best seller. Compare their sales and display the following message: "The best seller is and has sell Kg," The Output: The best seller is Panda and has sell 880kg. Part b) Display the name of the best seller in each product with the quantity separately in the three products Tomatos, Potatos, and Onion. The Output: The best seller of the Tomatos 1 s ochaim and has sell 200Kg. The best seller of the Potatos is Panda and has sell 400kg. The best seller of the Tomatos 15 Panda and has sell 320kg. >1 Please upload your work (code with screen shots of the output) through your blackboard portal before January 11, 2022 (before 8:00 AM)

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!