"Gregory Petrosyan" <[EMAIL PROTECTED]> writes: > 1) both in [5,6,10] and [5,7,10] 10 is included ;-) > And as for [5,6 .. 10] and [5,7 .. 10]... First one should look > like [5 .. 10] I think. But you are right: > it looks like a problem that in one case 10 is included and in > other not. I should think about it.
[5,7 .. 10] means [5,7,9,11,13,15, ... ] limited to x<=10, so that means [5,7,9]. 10 is not included. -- http://mail.python.org/mailman/listinfo/python-list