Kizspy | Question: 23
(Choose 1 answer)
Given the code below:
import numpy as np
matrix=np.array([[[1, 2], [3, 4]], [[5, 6], [7, 8]], [[9, 10], [11, 12]]])How to get element 7 from the matrix?
A. matrix [1,1,0]
B. matrix[0,1,0]
C. matrix[...,0]
D. matrix[::1,:1:,0::]