Answers for "list python number of elements"

8

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)
Posted by: Guest on October-16-2020
0

List Count Elements

a = ["more", 4, 6]
print(len(a))
# prints 3
Posted by: Guest on December-10-2021

Code answers related to "list python number of elements"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language