Get the length of a list : Length « List « Python Tutorial






numbers = [100, 34, 678]

print len(numbers)








7.14.Length
7.14.1.Get the length of a list
7.14.2.len() provides the total number of elements in the tuple .
7.14.3.Creating, accessing and changing a list.
7.14.4.Creating a histogram from a list of values.