Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I believe sage_eval should take care of this issue. For example, the code below produces an integer.

s = '123^1234'
sage_eval(s)