#!/usr/bin/python # the for loop # Measure some strings: words = ['cat', 'window', 'defenestrate'] for w in words: print w, len(w) for i in range(5): print i,