Updated question 37
This commit is contained in:
1 parent
97b01d144d
commit
a7c84d5fed
5 files changed
+258
-62
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user