Remove an incorrect solution (fancy indexing) from Numpy exercise No. 16 in the solutions files.

This commit is contained in:
Amin Sehati
2026-02-08 16:58:53 -05:00
parent 6447594ad6
commit 4a3372ed11
3 changed files with 0 additions and 15 deletions

View File

@@ -165,11 +165,6 @@ Z = np.ones((5,5))
Z = np.pad(Z, pad_width=1, mode='constant', constant_values=0)
print(Z)
# Using fancy indexing
Z[:, [0, -1]] = 0
Z[[0, -1], :] = 0
print(Z)
< q17
What is the result of the following expression? (★☆☆)
```python