len() provides the total number of elements in the tuple . : Length : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Length »

 

len() provides the total number of elements in the tuple .


nameList = ['A'"B"'C''D''E']

print len(nameList)
print range(len(nameList))



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo List
» Length