single line pre for numpy

This commit is contained in:
ieahleen
2021-01-01 18:40:18 +00:00
parent 3bccaff753
commit 5f90981108
2 changed files with 14 additions and 14 deletions

View File

@ -21,21 +21,21 @@ b[2] = 20
## --answers-- ## --answers--
```python <pre>
[1 2 3 4 5] [1 2 3 4 5]
``` </pre>
--- ---
```python <pre>
[1 2 20 4 5] [1 2 20 4 5]
``` </pre>
--- ---
```python <pre>
[1 20 3 4 5] [1 20 3 4 5]
``` </pre>
## --video-solution-- ## --video-solution--

View File

@ -20,27 +20,27 @@ b = np.max(a, axis=1).sum()
## --answers-- ## --answers--
```py <pre>
10 10
``` </pre>
--- ---
```py <pre>
7 7
``` </pre>
--- ---
```py <pre>
5 5
``` </pre>
--- ---
```py <pre>
15 15
``` </pre>
## --video-solution-- ## --video-solution--