Struggling with sorted dict of word lengths and count

Chris Angelico rosuav at gmail.com
Mon Jun 27 14:19:24 EDT 2011


On Tue, Jun 28, 2011 at 3:00 AM, Cathy James <nambo4jb at gmail.com> wrote:
> for word in line.lower().split( ):#split lines into words and make lower
> case

By the way, side point: There's not much point lower-casing the line
when all you care about is the lengths of words :)

ChrisA



More information about the Python-list mailing list