Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to find no of times a elements in list python

thislist = (1, 3, 7, 8, 7, 5, 4, 6, 8, 5)

x = thislist.count(5)

print(x)
 
PREVIOUS NEXT
Tagged: #find #times #elements #list #python
ADD COMMENT
Topic
Name
9+8 =