2021-06-15 00:49:18 -07:00
|
|
|
---
|
|
|
|
id: 5e9a0a8e09c5df3cc3600ed3
|
2021-07-19 16:05:37 +05:30
|
|
|
title: Fondamenti di Numpy
|
2021-06-15 00:49:18 -07:00
|
|
|
challengeType: 11
|
|
|
|
videoId: f9QrZrKQMLI
|
2021-10-03 12:24:27 -07:00
|
|
|
bilibiliIds:
|
|
|
|
aid: 763014202
|
|
|
|
bvid: BV1K64y1a7bu
|
|
|
|
cid: 409025169
|
2021-06-15 00:49:18 -07:00
|
|
|
dashedName: basics-of-numpy
|
|
|
|
---
|
|
|
|
|
|
|
|
# --question--
|
|
|
|
|
|
|
|
## --text--
|
|
|
|
|
2021-07-19 16:05:37 +05:30
|
|
|
Cosa scriverà il seguente codice?
|
2021-06-15 00:49:18 -07:00
|
|
|
|
|
|
|
```python
|
|
|
|
b = np.array([[1.0,2.0,3.0],[3.0,4.0,5.0]])
|
|
|
|
print(b)
|
|
|
|
```
|
|
|
|
|
|
|
|
## --answers--
|
|
|
|
|
|
|
|
```python
|
|
|
|
[[1.0 2.0 3.0]
|
|
|
|
[3.0 4.0 5.0]]
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
```python
|
|
|
|
[[1. 2. 3.]
|
|
|
|
[3. 4. 5.]]
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
```python
|
|
|
|
[[1. 3.]
|
|
|
|
[2. 4.]
|
|
|
|
[3. 5.]
|
|
|
|
```
|
|
|
|
|
|
|
|
## --video-solution--
|
|
|
|
|
|
|
|
2
|
|
|
|
|