2020-04-21 12:42:19 -04:00
|
|
|
---
|
|
|
|
id: 5e9a0a8e09c5df3cc3600ed3
|
|
|
|
title: Basics of Numpy
|
|
|
|
challengeType: 11
|
2020-06-23 17:36:39 +05:30
|
|
|
isHidden: false
|
2020-04-21 12:42:19 -04:00
|
|
|
videoId: f9QrZrKQMLI
|
|
|
|
---
|
|
|
|
|
|
|
|
## Description
|
|
|
|
<section id='description'>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
## Tests
|
|
|
|
<section id='tests'>
|
|
|
|
|
|
|
|
```yml
|
|
|
|
question:
|
2020-05-28 22:40:36 +09:00
|
|
|
text: 'What will the following code print?:<pre>b = np.array([[1.0,2.0,3.0],[3.0,4.0,5.0]])<br>print(b)</pre>'
|
2020-04-21 12:42:19 -04:00
|
|
|
answers:
|
2020-04-29 20:41:08 -04:00
|
|
|
- '<pre>[[1.0 2.0 3.0]<br>[3.0 4.0 5.0]]<pre>'
|
|
|
|
- '<pre>[[1. 2. 3.]<br>[3. 4. 5.]]<pre>'
|
|
|
|
- '<pre>[[1. 3.]<br>[2. 4.]<br>[3. 5.]<pre>'
|
|
|
|
solution: 2
|
2020-04-21 12:42:19 -04:00
|
|
|
```
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|