Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python count appearances in list

a = [1,2,2,2,1]
a.count(2)
 
PREVIOUS NEXT
Tagged: #python #count #appearances #list
ADD COMMENT
Topic
Name
8+8 =