1 | initial version |
from srange?
:
Docstring:
Return a list of numbers "start, start+step, ..., start+k*step",
where "start+k*step < end" and "start+(k+1)*step >= end".
This provides one way to iterate over Sage integers as opposed to
Python int's. It also allows you to specify step sizes for such an
iteration.
HTH,
2 | No.2 Revision |
from srange?
:
Docstring:
Return a list of numbers "start, start+step, ..., start+k*step",
where "start+k*step < end" and "start+(k+1)*step >= end".
This provides one way to iterate over Sage integers as opposed to
Python int's. It also allows you to specify step sizes for such an
iteration.
HTH,
EDIT :
Just saw John Palmieri's suggestion, whi h amoiunts exactly to the same thing. Wups...