Question: Using an external file, read in the shopping list, and display the multi-dimensional list to the user. Name the Python File: Chapter8GroceryList.py Example: Input GroceryList.txt
Using an external file, read in the shopping list, and display the multi-dimensional list to the user. Name the Python File: Chapter8GroceryList.py Example: Input GroceryList.txt Output: [['Apples', '10'], ['Oranges', '8'], ['Butter', '1'], ['Sugar', '2'], ['Bread', '3'], ['Milk', '0']]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
