Steven D'Aprano wrote:

>> Slightly related is a problem that comes up in practice; you cannot
>> specify "including the last item" with negative indices:
> 
> But you can do so by leaving the end index blank:

That's why the problem typically comes up when the stop index is a variable.

_______________________________________________
Tutor maillist  -  [email protected]
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor

Reply via email to