Terry, My mistake: I typed the lines as I could not copy them from IDLE's debug window. All yields other than the first one should indeed be line 6. Thomas