¡@

Home 

python Programming Glossary: stringlist

Longest strings from list

http://stackoverflow.com/questions/13964637/longest-strings-from-list

we can find the maximum length of any string in the list stringlist 'hi' 'hello' 'hey' 'ohman' 'yoloo' 'hello' #maxlength max len.. 'ohman' 'yoloo' 'hello' #maxlength max len s for s in stringlist maxlength max len s for s in stringlist # omitting the brackets.. max len s for s in stringlist maxlength max len s for s in stringlist # omitting the brackets causes max # to operate on an iterable..