From 4f6aa69f2667fb13e461d361248dd3b18ccbbb29 Mon Sep 17 00:00:00 2001 From: Sreejith S <32271222+sreejithsankar55@users.noreply.github.com> Date: Thu, 18 Oct 2018 15:43:05 +0530 Subject: [PATCH] Fixed a grammatical error. Changed 'an list' to 'a list' in 5th line. --- snippets/count_occurences.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snippets/count_occurences.md b/snippets/count_occurences.md index d6355d4df..7a3c930e7 100644 --- a/snippets/count_occurences.md +++ b/snippets/count_occurences.md @@ -2,7 +2,7 @@ :information_source: Already implemented via `list.count()`. -Counts the occurrences of a value in an list. +Counts the occurrences of a value in a list. Uses the list comprehension to increment a counter each time you encounter the specific value inside the list.