Erik Max Francis
max at alcyone.com
Thu Mar 6 08:52:26 CET 2003
> Why does range(1,4,1) return [1,2,3]?
> It does not make sense at all.
> It should return [1,2,3,4].
It counts up to but not including the stop number.
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ The only way to get rid of a temptation is to yield to it.
\__/ Oscar Wilde
Alcyone Systems / http://www.alcyone.com/
Alcyone Systems, San Jose, California.
More information about the Python-list