Mega Code Archive
Categories
/
Python
/
List
Built-in function len()
a = ['spam', 'eggs', 100, 1234] print len(a)