¡@

Home 

python Programming Glossary: sublen

Comparing characters in a string sequentially in Python

http://stackoverflow.com/questions/19562340/comparing-characters-in-a-string-sequentially-in-python

the maxlen variable then add one to maxlen Or make maxlen sublen . My attempt so far is And I think it is working s 'vzcbotdebobeggglakyl'.. far is And I think it is working s 'vzcbotdebobeggglakyl' sublen 1 maxlen 0 startnum 0 for char in s stopnum startnum 1 if stopnum.. s charone s startnum chartwo s stopnum if charone chartwo sublen 1 startnum 1 if sublen maxlen maxlen sublen else startnum 1..