Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

len list python

nestedList = ['Krishna', 20,'John', [20, 40, 50, 65, 22], 'Yung', 11.98]
print("Original List = ", nestedList)
print("Length of a Nested List = ", len(nestedList[3]))
Source by www.howtouselinux.com #
 
PREVIOUS NEXT
Tagged: #len #list #python
ADD COMMENT
Topic
Name
8+1 =