Hi! I am getting this error message in Python 3.6.3, using Spyder 3.2 in Anaconda 5.0.1 on Windows 7.
^
SyntaxError: EOL while scanning string literal
The interpreter is pointing to the colon at the end of the first line...
What is wrong with the code here?
Thank you..
^
SyntaxError: EOL while scanning string literal
The interpreter is pointing to the colon at the end of the first line...
with open ("hello.txt', 'w') as f: f.write('writing over hello world')This docs page says in section 7.2 that is how it's supposed to be written in Python 3. Python 3 Documentation
What is wrong with the code here?
