Ask Your Question

Revision history [back]

You can simply try:

sage: ZZ(a)

You To get the right hand side of a, you can simply try:do

sage: ZZ(a)
a.rhs()

If you wanr a Sage integer, not a symbolic expression, you can do

sage: ZZ(a.rhs())

To get the right hand side of a, you can do

sage: a.rhs()

If you wanr want a Sage integer, not a symbolic expression, you can do

sage: ZZ(a.rhs())