Mega Code Archive

 
Categories / Python / List
 

Get length of a list

print len([1, 2, 3])                    # length