From ebadaa8c3782fe2ec88fe9cd26283544e0e159a4 Mon Sep 17 00:00:00 2001 From: Prajwal <40351128+TheDaemonLord@users.noreply.github.com> Date: Thu, 3 Oct 2019 16:36:16 +0530 Subject: [PATCH] Update snippets/median.md Co-Authored-By: Angelos Chalaris --- snippets/median.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..