Quote (mebeatyou @ Jun 29 2014 05:02pm)
Without actually testing it, I think what you want is mylist[::n/2]
Just trying to make it so even = [0,2,4], or every even element in the list elements.
Since I cannot do any looping, I modify a new list to be [0,2,4,5,3,1] from the original [0,1,2,3,4,5].
Then I will assign even to [0,2,4] and odd to [1,3,5].
I'll try out your suggestion though