Indexing NumPy Array II

Use indexing to retrieve an element from a 2-dimensional NumPy array. Get the value in row 2 and column 1.
import numpy as np a = np.array([[1, 2, 3], [4, 5, 6 ]]) # get element in 2nd row and 1st column
num =
print(num) # expected output: 4
Python
Setting up Python environment...
Output