Error in lines 1-1
Traceback (most recent call last):
File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1230, in execute
exec(
File "", line 1, in
File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_salvus.py", line 3921, in load
exec(
File "", line 1, in
File "sage/misc/persist.pyx", line 143, in sage.misc.persist.load (build/cythonized/sage/misc/persist.c:2558)
sage.repl.load.load(filename, globals())
File "/ext/sage/sage-9.2/local/lib/python3.8/site-packages/sage/repl/load.py", line 251, in load
code = compile(f.read(), fpath, 'exec')
File "./neuralcode.py", line 136
print "The collection of codewords must be nonempty\n"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("The collection of codewords must be nonempty\n")?
Error:
Error in lines 1-1 Traceback (most recent call last): File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_server.py", line 1230, in execute exec( File "", line 1, in
File "/cocalc/lib/python2.7/site-packages/smc_sagews/sage_salvus.py", line 3921, in load
exec(
File "", line 1, in
File "sage/misc/persist.pyx", line 143, in sage.misc.persist.load (build/cythonized/sage/misc/persist.c:2558)
sage.repl.load.load(filename, globals())
File "/ext/sage/sage-9.2/local/lib/python3.8/site-packages/sage/repl/load.py", line 251, in load
code = compile(f.read(), fpath, 'exec')
File "./neuralcode.py", line 136
print "The collection of codewords must be nonempty\n"
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("The collection of codewords must be nonempty\n")?