fix(curriculum): clean-up Project Euler 201-220 (#42826)

* fix: clean-up Project Euler 201-220

* fix: corrections from review

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>

Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
This commit is contained in:
gikf
2021-07-15 09:20:31 +02:00
committed by GitHub
parent 505c3b7c6c
commit eef1805fe6
20 changed files with 254 additions and 156 deletions

View File

@ -18,10 +18,10 @@ What is the probability that Pyramidal Pete beats Cubic Colin? Give your answer
# --hints--
`euler205()` should return 0.5731441.
`diceGame()` should return `0.5731441`.
```js
assert.strictEqual(euler205(), 0.5731441);
assert.strictEqual(diceGame(), 0.5731441);
```
# --seed--
@ -29,12 +29,12 @@ assert.strictEqual(euler205(), 0.5731441);
## --seed-contents--
```js
function euler205() {
function diceGame() {
return true;
}
euler205();
diceGame();
```
# --solutions--