Updated question 37, keep previous solution for reference
This commit is contained in:
@@ -354,6 +354,11 @@ print(np.trunc(Z))
|
||||
|
||||
|
||||
```python
|
||||
Z = np.zeros((5,5))
|
||||
Z += np.arange(5)
|
||||
print(Z)
|
||||
|
||||
# without broadcasting
|
||||
Z = np.tile(np.arange(0, 5), (5,1))
|
||||
print(Z)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user