Roy Smith <[EMAIL PROTECTED]> wrote: > Alex Martelli <[EMAIL PROTECTED]> wrote: > >Agreed. *IF* we truly needed an occasional "up to X *INCLUDED*" > >sequence, it should be in a syntax that can't FAIL to be noticed, such > >as range(X, endincluded=True). > > How about... > > for i in (0..x]: > blah
The difference between a round parenthesis and a square bracket can EASILY be overlooked, depending partly on what font you're using. Alex -- http://mail.python.org/mailman/listinfo/python-list