Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

length of list python

len([x for x in range(10)])
10
len([1,2,3,[1,2,3]])
4
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #length #list #python
ADD COMMENT
Topic
Name
4+3 =