(Solved) : Input Text File Inputtxt Store 1 Banana 10 Apple 17 Mango 10 Store 2 Banana 17 Apple 10 Ma Q43980623 . . .
Python Programming

-Input text file(input.txt)- Store 1 Banana 10 Apple 17 Mango 10 Store 2 Banana 17 Apple 10 Mango 40 -Output- Product Count —– Store 1 Banana Apple Mango Store 2 Banana Apple Mango Total Mango Apple Banana *Each store must be output in the same order as they are in the input file. *The grand totals are also sorted as the store totals are by count and then by product name. Show transcribed image text -Input text file(input.txt)- Store 1 Banana 10 Apple 17 Mango 10 Store 2 Banana 17 Apple 10 Mango 40 -Output- Product Count —– Store 1 Banana Apple Mango Store 2 Banana Apple Mango Total Mango Apple Banana *Each store must be output in the same order as they are in the input file. *The grand totals are also sorted as the store totals are by count and then by product name.
Expert Answer
Answer to -Input text file(input.txt)- Store 1 Banana 10 Apple 17 Mango 10 Store 2 Banana 17 Apple 10 Mango 40 -Output- Product Co…
OR