Files
miyaliu666 3ea2fe4f77 feat(i18n,curriculum): add Bilibili ids for Chinese (#43564)
Co-authored-by: Kristofer Koishigawa <scissorsneedfoodtoo@gmail.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2021-10-01 09:54:12 +05:30

562 B

id, title, challengeType, videoId, bilibiliIds, dashedName
id title challengeType videoId bilibiliIds dashedName
5e9a0a8e09c5df3cc3600ed9 Reorganizing Arrays 11 VNWAQbEM-C8
aid bvid cid
548035655 BV1fq4y1N7aC 409026755
reorganizing-arrays

--question--

--text--

What code would produce the following array?

[[1. 1.]
[1. 1.]
[1. 1.]
[1. 1.]]

--answers--

a = np.ones((2, 4))
b = a.reshape((4, 2))
print(b)

a = np.ones((2, 4))
b = a.reshape((2, 4))
print(b)

a = np.ones((2, 4))
b = a.reshape((8, 1))
print(b)

--video-solution--

1