On Jan 21, 4:49 pm, Burcin Erocal <bur...@erocal.org> wrote:
> Here are my answers:
>
> > P[-1] = 0
>
> 0
>
> > P[-1:] = 1+x^2+x^3+x^4+x^5
>
> [0, 1, 1, 1, 1, 1, 1]
>
> > P[:-1] = 0
>
> []
>
> Slices should return lists, and single indices should return a value in
> the coefficient ring.
+1, lists are even better.
Last comment, then the step could be used to (in 3.2.3 it raises a
Typerror)
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---