Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started