python list index size code example Example: length of list python >>> list = [a, b, c] >>> len(list) #output 3