a = shape (3, 4)
Try
Spaces or commas between values · new line = new row · blank line = new 2-D layer (3-D array).
Starting Python… (first visit downloads ≈ 15 MB, then it is cached)
import numpy as np
a = np.array([[ 1, 2, 3, 4],
[ 5, 6, 7, 8],
[ 9, 10, 11, 12]])
result = a[1, 2]
resultOutput
Output appears here.