Negatives work as indices but the syntax you’re using creates a range (1…-1 = [1,0,-1]) so it’s getting those indices moving backwards. If you want the rest of the items in a list then you’ll have to build a range from 1 forward to the last index.
Negatives work as indices but the syntax you’re using creates a range (1…-1 = [1,0,-1]) so it’s getting those indices moving backwards . If you want the rest of the items in a list then you’ll have to build a range from 1 forward to the last index.