👋 Hello! I'm Alphonsio the robot. Ask me a question, I'll try to answer.
count list python

The Python len() function returns the size of a list (count the number of elements):

>>> myList=[8, 2, 3, 6, 8]
>>> len(myList)
5

More