Kizspy | Question: 29
(Choose 1 answer)
FJOVERFLOW.COM
Given:
import numpy as np
matrix np.array([[[1,2],[3,4]], [[5,6],[7,8]]])
print(matrix[:0]+matrix[..., 1])
What is the output?
A. [[3, 7], [11, 15]]
B. [[2,6], [10, 14]]
C. [[4,8], [12, 16]]
D. Error