fix(curriculum): correct spelling error from exlamation to exclamation (#63836)

This commit is contained in:
Giftea ☕
2025-11-14 18:58:28 +01:00
committed by GitHub
parent 7e1f07e384
commit 73d55e0bcf
2 changed files with 4 additions and 4 deletions
@@ -34,10 +34,10 @@ assert.equal(longestWord("Hello coding challenge."), "challenge");
assert.equal(longestWord("Do Try This At Home."), "This");
```
`longestWord("This sentence... has commas, ellipses, and an exlamation point!")` should return `"exlamation"`.
`longestWord("This sentence... has commas, ellipses, and an exclamation point!")` should return `"exclamation"`.
```js
assert.equal(longestWord("This sentence... has commas, ellipses, and an exlamation point!"), "exlamation");
assert.equal(longestWord("This sentence... has commas, ellipses, and an exclamation point!"), "exclamation");
```
`longestWord("A tie? No way!")` should return `"tie"`.
@@ -43,12 +43,12 @@ TestCase().assertEqual(longest_word("Do Try This At Home."), "This")`)
}})
```
`longest_word("This sentence... has commas, ellipses, and an exlamation point!")` should return `"exlamation"`.
`longest_word("This sentence... has commas, ellipses, and an exclamation point!")` should return `"exclamation"`.
```js
({test: () => { runPython(`
from unittest import TestCase
TestCase().assertEqual(longest_word("This sentence... has commas, ellipses, and an exlamation point!"), "exlamation")`)
TestCase().assertEqual(longest_word("This sentence... has commas, ellipses, and an exclamation point!"), "exclamation")`)
}})
```