Oliver Eyton-Williams bd68b70f3d
Feat: hide blocks not challenges (#39504)
* fix: remove isHidden flag from frontmatter

* fix: add isUpcomingChange

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

* feat: hide blocks not challenges

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>

Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
2020-09-03 15:07:40 -07:00

60 lines
1.1 KiB
Markdown

---
id: 5e9a093a74c4063ca6f7c154
title: Numpy Arrays
challengeType: 11
videoId: VDYVFHBL1AM
---
## Description
<section id='description'>
<em>Instead of using notebooks.ai like it shows in the video, you can use Google Colab instead.</em>
More resources:
- <a href="https://github.com/ine-rmotr-curriculum/freecodecamp-intro-to-numpy" target="_blank" rel="noopener noreferrer">Notebooks on GitHub</a>
- <a href="https://colab.research.google.com/github/googlecolab/colabtools/blob/master/notebooks/colab-github-demo.ipynb" target="_blank" rel="noopener noreferrer">How to open Notebooks from GitHub using Google Colab.</a>
</section>
## Tests
<section id='tests'>
````yml
question:
text: |
What will the following code print out?
```py
A = np.array([
['a', 'b', 'c'],
['d', 'e', 'f'],
['g', 'h', 'i']
])
print(A[:, :2])
```
answers:
- |
```python
[['a' 'b']]
```
- |
```py
[['b' 'c']
['e' 'f']
['h' 'i']]
```
- |
```py
[['a' 'b']
['d' 'e']
['g' 'h']]
```
solution: 3
````
</section>