Question: Can anyone help me figure out the code to get this program to run in Python? Write a program to input a list of grocery

Can anyone help me figure out the code to get this program to run in Python?
Write a program to input a list of grocery items for your shopping list and then writes them to a file a line at a time. The program should keep asking you to enter grocery items until you type 'done'. After you complete the list, the program should then load the file and read the list back to you by printing each item out. Sample Run: Let's make a shopping list Type 'done' when you're finished: Enter Item: milk Enter Item: cheese Enter Item: eggs Enter Item: beer Enter Item: apples Enter Item: done Your shopping list: milk cheese eggs beer apples
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
