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:
@ -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--
|
||||
|
Reference in New Issue
Block a user