single line pre for numpy
This commit is contained in:
@ -21,21 +21,21 @@ b[2] = 20
|
||||
|
||||
## --answers--
|
||||
|
||||
```python
|
||||
<pre>
|
||||
[1 2 3 4 5]
|
||||
```
|
||||
</pre>
|
||||
|
||||
---
|
||||
|
||||
```python
|
||||
<pre>
|
||||
[1 2 20 4 5]
|
||||
```
|
||||
</pre>
|
||||
|
||||
---
|
||||
|
||||
```python
|
||||
<pre>
|
||||
[1 20 3 4 5]
|
||||
```
|
||||
</pre>
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
@ -20,27 +20,27 @@ b = np.max(a, axis=1).sum()
|
||||
|
||||
## --answers--
|
||||
|
||||
```py
|
||||
<pre>
|
||||
10
|
||||
```
|
||||
</pre>
|
||||
|
||||
---
|
||||
|
||||
```py
|
||||
<pre>
|
||||
7
|
||||
```
|
||||
</pre>
|
||||
|
||||
---
|
||||
|
||||
```py
|
||||
<pre>
|
||||
5
|
||||
```
|
||||
</pre>
|
||||
|
||||
---
|
||||
|
||||
```py
|
||||
<pre>
|
||||
15
|
||||
```
|
||||
</pre>
|
||||
|
||||
## --video-solution--
|
||||
|
||||
|
Reference in New Issue
Block a user