Update 100_Numpy_exercises_with_solutions.md
Replaced np.array([[0,1],[1,0]]) with np.eye(2) in Task #21
This commit is contained in:
parent
9802377336
commit
49e70fbc00
@ -178,7 +178,7 @@ print(np.unravel_index(99,(6,7,8)))
|
||||
|
||||
|
||||
```python
|
||||
Z = np.tile( np.array([[0,1],[1,0]]), (4,4))
|
||||
Z = np.tile(np.eye(2), (4,4))
|
||||
print(Z)
|
||||
```
|
||||
#### 22. Normalize a 5x5 random matrix (★☆☆)
|
||||
|
Loading…
Reference in New Issue
Block a user