Card Games Instructions have Error

Line 79 of exercises/concept/card-games/.docs/instructions.md appears to have an error. Perhaps it was a typo but 4 is not the average of the list, nor the average of the first and last, while 5 is. So either the middle item should be 5 or the result should be False.

I got here from creating an automatically closed PR that corrected it. Update instructions.md by chivalry · Pull Request #3821 · exercism/python · GitHub

There are two approximate averages you need to check against the actual average (5). One (the middle value) is 4. The other (average of the first and last) is 5. Therefore one of the approximate average values is equal to the actual average.

1 Like

I see, ty for the correction.

You’re welcome. That’s part of why we ask that people discuss first before making a PR :wink: