Skip to content

Commit 6231604

Browse files
authored
Update instructions.md
Removed references to median. I couldn't find any stipulation that the hands are sorted (and the last task seems to suggest they're not because there's a non-final `11`). The middle card is not necessarily the "median", in a statistical sense, unless they are sorted, and it might be clearer to describe it only as the "middle" card.
1 parent 82e77ce commit 6231604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/card-games/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,13 +64,13 @@ In Black Joe, speed is important. Elyse is going to try and find a faster way of
6464
She has thought of two ways of getting an _average-like_ number:
6565

6666
- Take the average of the _first_ and _last_ number in the hand.
67-
- Using the median (middle card) of the hand.
67+
- Using the middle card in the hand.
6868

6969
Implement the function `approx_average_is_average(<hand>)`, given `hand`, a list containing the values of the cards in your hand.
7070

7171
Return `True` if either _one_ `or` _both_ of the, above named, strategies result in a number _equal_ to the _actual average_.
7272

73-
Note: _The length of all hands are odd, to make finding a median easier._
73+
Note: _The length of all hands are odd, to make finding the middle easier._
7474

7575
```python
7676
>>> approx_average_is_average([1, 2, 3])

0 commit comments

Comments
 (0)