[Tutor] range() in 2.1
Thu, 2 Aug 2001 15:38:14 -0400
On Thu, Aug 02, 2001 at 09:11:54PM +0200, Charlie Clark wrote:
| >the values 1..9 whereas in all the earlier pythons
| >it would return 0..9
| >Have the authors got it wrong or did range() change
| >behaviour in v2.1 - I find that hard to believe!
| >OTOH the examples in the article look like a cut n paste
| >from a terminal session at the >>> prompt (including
| >copyright message etc)
| If that's the case let me try ;-)
| Python 2.1 (#2, Apr 26 2001, 21:54:18)
| [GCC 2.9-beos-991026] on beos5
| mm, looks pretty the same as ever to me. I would wonder a lot if it had
| changed, that surely break a lot of things!!!
Same here with
Python 2.1 (#1, Apr 17 2001, 09:45:01)
[GCC 2.95.3-2 (cygwin special)] on cygwin_nt-4.01
Python 2.1 (#1, Jul 27 2001, 15:48:55)
[GCC 2.95.2 19991024 (release)] on sunos5
I think that article must be rather buggy :-).