So the original solution is:

https://github.com/esc/scipy-lecture-notes/blob/master/intro/numpy/solutions/1_1_array_creation.py

And this exercise will have to be moved to after indexing and slicing.