Updated question 37

This commit is contained in:
Francesco Terenzi
2021-04-08 20:51:14 +02:00
parent 97b01d144d
commit a7c84d5fed
5 changed files with 258 additions and 62 deletions

View File

@@ -451,8 +451,7 @@ Create a 5x5 matrix with row values ranging from 0 to 4 (★★☆)
hint: np.arange
< a37
Z = np.zeros((5,5))
Z += np.arange(5)
Z = np.tile(np.arange(0, 5), (5,1))
print(Z)
< q38