Range Operation pre-PEP

Thomas Heller thomas.heller at ion-tof.com
Wed May 9 10:12:56 EDT 2001


> > At 12:23 09/05/01 +0200, Alex Martelli wrote:
> > >Getting beginners used to inclusive-upper-end idioms
> > >and then having them trip over exclusive-upper-end
> > >ones elsewhere later is NOT doing them any favour.
> >
> > Ok, I'm in brainstorm mode. You're warned :-) Some weird ideas are just
> > popping out of my mind:
> >
for i in [0:10):
    print i

for i in [0:10]:
    print i

Thomas






More information about the Python-list mailing list