Oct-15-2020, 11:20 AM
It looks like you are still missing a colon. Note that the error is even pointing you to the final "f" as the point of invalid syntax. Every single line you have that begins with "with open" needs to end with a ":" for it to be valid syntax.