I have a question regarding exercise 16.
After line 30, I tried to put the following line in order to have the (edited) file “printed”:
Unfortunately, I receive an error message saying that the file is not readable.
I understood this is due to the ‘w’ in line 12, in the open function.
Can somebody explain me more about this?
Thanks for the help!