How can I get an array of alternating values in python?,a[1::2] = -1