Question: 21
(Choose 1 answer)
Suppose we have a NumPy array arr with shape (6, 6). How would you select a submatrix consisting of the
first 3 rows and last 3 columns?
A. submatrix arr[:3, -3:]
B. submatrix arr[3:, -3:]
C. submatrix arr[0:3:, :3:]
D. submatrix arr[:3, 3:]