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