fix: numpy accessing and changing elements
This commit is contained in:
committed by
Kristofer Koishigawa
parent
31614fa9a6
commit
40cd0982f7
@ -22,7 +22,7 @@ question:
|
|||||||
a = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
|
a = np.array([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]])
|
||||||
|
|
||||||
# Output:
|
# Output:
|
||||||
# [[ 1 2 3 4 5]
|
# [[ 1 2 20 4 5]
|
||||||
# [ 6 7 20 9 10]]
|
# [ 6 7 20 9 10]]
|
||||||
```
|
```
|
||||||
answers:
|
answers:
|
||||||
|
Reference in New Issue
Block a user