Fixed a grammatical error.
Changed 'an list' to 'a list' in 5th line.
This commit is contained in:
@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user