4 # What is the longest word that starts with a q?
5 # This is the most common student solution, which prints the *first* occurence of
6 # the longest word. See solution_2_advanced.py for more info.
8 longest_so_far = '' # Store the longest word we've seen up to this point.
10 for word in scrabble.wordlist:
13 if len(word) > len(longest_so_far): # What if I use >= rather than > here?
15 #print word # Use this to see the progression.