Tim Chase wrote: >> def leaders(sorted_list): >> held = None >> for phrase in held: > ... I suspect you mean > for phrase in sorted_list: > no? Ooops -- renaming code before posting should get its own test. You are absolutely correct. --Scott David Daniels scott.daniels at acm.org