Feat: add new Markdown parser (#39800)

and change all the challenges to new `md` format.
This commit is contained in:
Oliver Eyton-Williams
2020-11-27 19:02:05 +01:00
committed by GitHub
parent a07f84c8ec
commit 0bd52f8bd1
2580 changed files with 113436 additions and 111979 deletions

View File

@@ -5,42 +5,39 @@ challengeType: 11
videoId: iIoQ0_L0GvA
---
## Description
# --question--
<section id='description'>
</section>
## --text--
## Tests
What is the value of `a` after running the following code?
<section id='tests'>
```py
import numpy as np
````yml
question:
text: |
What is the value of `a` after running the following code?
a = np.array([1, 2, 3, 4, 5])
b = a
b[2] = 20
```
```py
import numpy as np
## --answers--
a = np.array([1, 2, 3, 4, 5])
b = a
b[2] = 20
```
```python
[1 2 3 4 5]
```
answers:
- |
```python
[1 2 3 4 5]
```
- |
```python
[1 2 20 4 5]
```
- |
```python
[1 20 3 4 5]
```
solution: 2
````
---
```python
[1 2 20 4 5]
```
---
```python
[1 20 3 4 5]
```
## --video-solution--
2
</section>