Middle third again


I do understand this:
middle_third = to_21[7:14]

But not why this is working too:
middle_third = to_21[7:-7]

Replace this line with your code.


what is it you don't understand about it? you can use negative values to start from the right hand sight, for example:


would give hell. you slice off the right side of the list, this works perfectly for your to_21 problem


Thank you, I got it now. It is where we do cut (slice). I understood it the way that the number defined the end of the list, so did not get the negative value of it, now I understand that it points to the place in the list where we make the cut from the left when positive, from the right when negative. .