no of items in a list python code example
Example 1: get list number python
my_list = [1,"hello world", 16.2]
len(my_list)
3
Example 2: 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)