feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script * chore(curriculum): remove empty sections' markers * chore(curriculum): add seed + solution to Chinese * chore: remove old formatter * fix: update getChallenges parse translated challenges separately, without reference to the source * chore(curriculum): add dashedName to English * chore(curriculum): add dashedName to Chinese * refactor: remove unused challenge property 'name' * fix: relax dashedName requirement * fix: stray tag Remove stray `pre` tag from challenge file. Signed-off-by: nhcarrigan <nhcarrigan@gmail.com> Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
0095583028
commit
ee1e8abd87
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed4
|
||||
challengeType: 11
|
||||
videoId: v-7Y7koJ_N0
|
||||
dashedName: accessing-and-changing-elements-rows-columns
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -46,8 +47,3 @@ a[1, 2] = 20
|
||||
|
||||
3
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed3
|
||||
challengeType: 11
|
||||
videoId: f9QrZrKQMLI
|
||||
dashedName: basics-of-numpy
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -41,8 +42,3 @@ print(b)
|
||||
|
||||
2
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed7
|
||||
challengeType: 11
|
||||
videoId: iIoQ0_L0GvA
|
||||
dashedName: copying-arrays-warning
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -40,8 +41,3 @@ b[2] = 20
|
||||
|
||||
2
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed6
|
||||
challengeType: 11
|
||||
videoId: 0jGfH8BPfOk
|
||||
dashedName: initialize-array-problem
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -55,8 +56,3 @@ output[4:1, 4:1] = z
|
||||
|
||||
1
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed5
|
||||
challengeType: 11
|
||||
videoId: CEykdsKT4U4
|
||||
dashedName: initializing-different-arrays
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -40,8 +41,3 @@ print(np.full_like(a, 100))
|
||||
|
||||
2
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600eda
|
||||
challengeType: 11
|
||||
videoId: tUdBZ7pF8Jg
|
||||
dashedName: loading-data-and-advanced-indexing
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -52,8 +53,3 @@ print(output)
|
||||
|
||||
3
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed8
|
||||
challengeType: 11
|
||||
videoId: 7txegvyhtVk
|
||||
dashedName: mathematics
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -45,8 +46,3 @@ b = np.max(a, axis=1).sum()
|
||||
|
||||
4
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed9
|
||||
challengeType: 11
|
||||
videoId: VNWAQbEM-C8
|
||||
dashedName: reorganizing-arrays
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -45,8 +46,3 @@ print(b)
|
||||
|
||||
1
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
@ -2,6 +2,7 @@
|
||||
id: 5e9a0a8e09c5df3cc3600ed2
|
||||
challengeType: 11
|
||||
videoId: 5Nwfs5Ej85Q
|
||||
dashedName: what-is-numpy
|
||||
---
|
||||
|
||||
# --question--
|
||||
@ -30,8 +31,3 @@ All of the above.
|
||||
|
||||
4
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
# --solutions--
|
||||
|
||||
|
Reference in New Issue
Block a user