A leading zero is in Python (and hence Sage) an octal number. I also
> stumbled about this. Many others probably as well. Just get rid of the
> leading zero ;-)
>
>>
>>
Presumably "frequently asked", then? I hadn't seen this before, which
surprises me.
http://trac.sagemath.org/ticket/17807
A leading zero is in Python (and hence Sage) an octal number. I also
stumbled about this. Many others probably as well. Just get rid of the
leading zero ;-)
-- Harald
On Wednesday, February 18, 2015 at 9:21:47 PM UTC+1, kuno wrote:
>
> Hi, code below
>
> sage: version()
> 'Sage Version 6.4.1,
Hi, code below
sage: version()
'Sage Version 6.4.1, Release Date: 2014-11-23'
sage: 4685+0618+8913+4471
File "", line 1
Integer(4685)+Integer(0618)+Integer(8913)+Integer(4471)
^
SyntaxError: invalid token
sage: 4685+0637+1553+5471
12124
sage:
However 4685+0637+