A shopping list file should have one item on each line.
Write save_list(path, items). It writes every item in the list items into the file called path, each followed by a newline (\n). Then it reads the file back and returns the text.
\n, including the last one.Use with for both writing and reading.