python number items in list code example
Example 1: get list number python
my_list = [1,"hello world", 16.2]
len(my_list)
3
Example 2: number of elements in list in python
# List of strings
listOfElems = ['Hello', 'Ok', 'is', 'Ok', 'test', 'this', 'is', 'a', 'test']
len(s)