feat: enable new langs (#42491)

Enable italian and portuguese
This commit is contained in:
Nicholas Carrigan (he/him)
2021-06-15 00:49:18 -07:00
committed by GitHub
parent d8d6d20793
commit f25e3e69f8
3301 changed files with 423168 additions and 6 deletions

View File

@ -0,0 +1,49 @@
---
id: 5e9a0a8e09c5df3cc3600ed9
title: Reorganizing Arrays
challengeType: 11
videoId: VNWAQbEM-C8
dashedName: reorganizing-arrays
---
# --question--
## --text--
What code would produce the following array?
```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