36 lines
494 B
Markdown
36 lines
494 B
Markdown
---
|
|
id: 5e9a093a74c4063ca6f7c156
|
|
title: Numpy Boolean Arrays
|
|
challengeType: 11
|
|
isHidden: true
|
|
videoId: N1ttsMmcVMM
|
|
---
|
|
|
|
## Description
|
|
<section id='description'>
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
question:
|
|
text: |
|
|
What will the following code print out?:
|
|
|
|
```py
|
|
a = np.arange(5)
|
|
|
|
print(a <= 3)
|
|
```
|
|
answers:
|
|
- "[False, False, False, False, True]"
|
|
- "[5]"
|
|
- "[0, 1, 2, 3]"
|
|
- "[True, True, True, True, False]"
|
|
solution: 4
|
|
```
|
|
|
|
</section>
|
|
|