Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

python find the number of elements in a list

list1 = [2,3,4,3,10,3,5,6,3]
elm_count = list1.count(3)
print('The count of element: 3 is ', elm_count)
Source by www.pythonprogramming.in #
 
PREVIOUS NEXT
Tagged: #python #find #number #elements #list
ADD COMMENT
Topic
Name
8+6 =