I’m trying to write code. I’m very new to Python, and i’m using an interpreter on Visual Studio Code. I’m trying to write multiple lines of code, but the \ isn’t working, or i’m doing it wrong. Example:
print(‘hi’) \
print(‘hello’) \
I would expect it to work, but it comes up as syntax error the next time I press enter. Is that because I’m doing it wrong? Otherwise, how would I enter many lines of code. Keep in mind i’m using an interpreter.