The Python len() function returns the size of a list (count the number of elements):
len()
>>> myList=[8, 2, 3, 6, 8] >>> len(myList) 5