NumPy - Indexing and Slicing
What will be the output of the following code?
import numpy as np arr = np.array([[10, 20], [30, 40], [50, 60]]) print(arr[2, 1])
import numpy as np arr = np.array([[10, 20], [30, 40], [50, 60]]) print(arr[2, 1])
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions