fork download
  1. import numpy as np
  2. arr = np.array([[1,2,3,4,5], [6,7,8,9,10]])
  3. print('2nd element on 1st row: ', arr[0,1])
Success #stdin #stdout 0.16s 28980KB
stdin
Standard input is empty
stdout
2nd element on 1st row:  2