Python list comprehensions: set all elements in an array to 0 or 1,"[0, 1, 0, 1, 0, 0, 1, 0]"