The second
print statement
print(x[1:4,2:])
instructs the system to print the array entries with index 1,2 and 3, selecting elements 2, 3, 4 ... etc. So if you examine the array
x[1]
is
[7,8,9,0,1]
and entries 2 to the end are
9,0 and 1
. You can see the same for
x[2]
.