Created
June 20, 2020 04:06
-
-
Save ninest/6c67eb6e3f77892053af1ce2bdb95fd0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
arr = np.zeros((3,3)) | |
arr[1][0] = 5 | |
for row_index in range(len(arr)): | |
for col_index in range(len(arr[row_index])): | |
print(row_index, col_index, " : ", arr[row_index][col_index]) | |
print(arr) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment