From 8b6803827754b94cdca74733b332b4e82886d335 Mon Sep 17 00:00:00 2001 From: Havan Agrawal Date: Thu, 22 Aug 2019 23:03:34 -0700 Subject: [PATCH] Fix quotation marks --- snippets/max_n.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/max_n.md b/snippets/max_n.md index 2ac09ac75..3c4ab2d26 100644 --- a/snippets/max_n.md +++ b/snippets/max_n.md @@ -6,7 +6,7 @@ tags: list,math,beginner Returns the `n` maximum elements from the provided list. If `n` is greater than or equal to the provided list's length, then return the original list (sorted in descending order). -Use `sorted() to sort the list, `[:n]` to get the specified number of elements. +Use `sorted()` to sort the list, `[:n]` to get the specified number of elements. Omit the second argument, `n`, to get a one-element list. ```py