Hello! I try in Sage 5.7 Notebook (localhost, not sagenb.org):
sage_eval("y=3")
...
y=Integer(3)
^
SyntaxError: invalid syntax
What's wrong? Thanks.
1 | initial version |
Hello! I try in Sage 5.7 Notebook (localhost, not sagenb.org):
sage_eval("y=3")
...
y=Integer(3)
^
SyntaxError: invalid syntax
What's wrong? Thanks.
2 | No.2 Revision |
Hello! I try in Sage 5.7 Notebook (localhost, not sagenb.org):
sage_eval("y=3")
...
y=Integer(3)
^
SyntaxError: invalid syntax
What's wrong? Thanks.
Upd
sage_eval(("y=3", "y"))
3
y
....
NameError: name 'y' is not defined
I want y was defined. What should I do? Thanks.