1 | initial version |
You can use one of the following:
sage: p.subs({x:X,y:Y})
sage: p.subs(x=X,y=Y)
The first passes a dictionary to the subs
method, the second sets two arguments.
When you write p.subs([x==X,y==Y])
, you try to pass a list of booleans to the subs
method.