diff --git a/snippets/median.md b/snippets/median.md index 3d38bc5a9..d09484f66 100644 --- a/snippets/median.md +++ b/snippets/median.md @@ -2,7 +2,7 @@ title: median tags: math,median,beginner --- -Find the median of a list of numbers +Finds the median of a list of numbers. Sort the numbers of the list using `list.sort()` and find the median, which is either the middle element of the list if the list length is odd or the average of the two middle elements if the list length is even..