Ask Your Question

Revision history [back]

There are at least two possilbilies:

disable the preparser with preparser(False):

sage: type(1)
<type 'sage.rings.integer.Integer'>
sage: preparser(False)
sage: type(1)
<type 'int'>

or use r suffix to say that the numbers are raw:

sage: type(1)
<type 'sage.rings.integer.Integer'>
sage: type(1r)
<type 'int'>
sage: type(1.0r)
<type 'float'>