range

Hilbert hilbert at microsoft.com
Thu Mar 6 02:46:40 EST 2003


Hello,

Why does range(1,4,1) return [1,2,3]?
It does not make sense at all.
It should return [1,2,3,4].

Am I crazy?
Hilbert

(also 1/2 should return 0.5, but that's another thread)






More information about the Python-list mailing list