> No, he'll have 100 items in the slice... 300, 301,... 399 that's 100 items.

you're right, sorry. [300:400] would return 100 items but the item at
index 400 would not return. I suggested if he wanted it to try
[300:401] as the last slice index is excluded from the return.

Thanks for that :)

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to