solutions update from 836eab7

This commit is contained in:
rougier
2025-08-26 09:07:01 +00:00
committed by github-actions[bot]
parent 836eab7578
commit 2db57d0e16
4 changed files with 215 additions and 209 deletions

View File

@@ -38,6 +38,9 @@ print(Z)
```python
Z = np.zeros((10,10))
print("%d bytes" % (Z.size * Z.itemsize))
# Simpler alternative
print("%d bytes" % Z.nbytes)
```
#### 5. How to get the documentation of the numpy add function from the command line? (★☆☆)
`hint: np.info`