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