chore(i18n,learn): processed translations (#44851)
This commit is contained in:
@ -0,0 +1,53 @@
|
||||
---
|
||||
id: 5e9a0a8e09c5df3cc3600ed9
|
||||
title: 配列の再編成
|
||||
challengeType: 11
|
||||
videoId: VNWAQbEM-C8
|
||||
bilibiliIds:
|
||||
aid: 548035655
|
||||
bvid: BV1fq4y1N7aC
|
||||
cid: 409026755
|
||||
dashedName: reorganizing-arrays
|
||||
---
|
||||
|
||||
# --question--
|
||||
|
||||
## --text--
|
||||
|
||||
次の配列を生成するコードはどれですか?
|
||||
|
||||
```py
|
||||
[[1. 1.]
|
||||
[1. 1.]
|
||||
[1. 1.]
|
||||
[1. 1.]]
|
||||
```
|
||||
|
||||
## --answers--
|
||||
|
||||
```py
|
||||
a = np.ones((2, 4))
|
||||
b = a.reshape((4, 2))
|
||||
print(b)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
```py
|
||||
a = np.ones((2, 4))
|
||||
b = a.reshape((2, 4))
|
||||
print(b)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
```py
|
||||
a = np.ones((2, 4))
|
||||
b = a.reshape((8, 1))
|
||||
print(b)
|
||||
```
|
||||
|
||||
## --video-solution--
|
||||
|
||||
1
|
||||
|
Reference in New Issue
Block a user