import numpy as np
a = np.array([
[3, 1, 7],
[4, 9, 2],
[12, 3, 1],
[12, 11, 8]
])
# update value here...
print(a)
# expected: [[3 1 7][4 99 2][12 3 1][12 11 8]]
Python
Setting up Python environment...
Output
import numpy as np
a = np.array([
[3, 1, 7],
[4, 9, 2],
[12, 3, 1],
[12, 11, 8]
])
# update value here...
print(a)
# expected: [[3 1 7][4 99 2][12 3 1][12 11 8]]
Setting up Python environment...