You slice a[::2] and then modify the result. What happens to a? · QuantMax