Measure some strings : Length : String PYTHON TUTORIALS


PYTHON TUTORIALS » String » Length »

 

Measure some strings


a = ['cat', 'window', 'defenestrate']
for x in a:
    print x, len(x)



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo String
» Length