Skip to content

A list and tuple accept a negative index, slicing doesn't get index out of range error and for slicing, the left index can be greater than the right index e.g. [10:-10] #9179

A list and tuple accept a negative index, slicing doesn't get index out of range error and for slicing, the left index can be greater than the right index e.g. [10:-10]

A list and tuple accept a negative index, slicing doesn't get index out of range error and for slicing, the left index can be greater than the right index e.g. [10:-10] #9179