I have a file isqrt.py, containing following code:
from cmath import sqrt
x = -1
y = sqrt(x)
print(y)
I am getting following error in my Mac Terminal:
File "isqrt.py", line 1
{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf210
^
SyntaxError: unexpected character after line continuation character
Do you know what is causing the error?