On 8 July 2017 at 13:03, Jaime Fernández del Río <jaime.frio@gmail.com> wrote:
The last index is exclusive:
[a:b] means a <= index < b.

And the consequence is that the length of your array is b - a, so [:3] gives you the first 3 values.