[sage-support] Re: adding 4 numbers

2015-02-18 Thread kcrisman
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

[sage-support] Re: adding 4 numbers

2015-02-18 Thread Harald Schilly
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,

[sage-support] adding 4 numbers

2015-02-18 Thread kuno
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+