Four is the number of letters in the ...: Difference between revisions

Content added Content deleted
(Added the position at the beginning of each line in the output of first 201 numbers.)
Line 1,248: Line 1,248:
break
break


stdout.write ($letterCount).align(3)
if valcount == 0: stdout.write fmt"{i+1:>3}:"
stdout.write fmt"{letterCount:>3}"
inc valcount
inc valcount
inc length, word.len + 1 # +1 for space.
inc length, word.len + 1 # +1 for space.