See the code below, I don't understand that middle_third = [8,9,10,11,12,13,14]
Previously, we've been told that in slicing: [start:end:stride]
start = where it starts inclusive
end = where it ends exclusive
stride = the space between items in the sliced list
So why do I get [8,9,10,11,12,13,14] instead of [7,8,9,10,11,12,13] ? Something I'm missing?
to_21 = range(1,22) odds = to_21[::2] middle_third = to_21[7:14:1]