> if character not in lettersGuessed: > > return True > > return False
assuming a function is being used to pass each letter of the letters guessed inside a loop itself that only continues checking if true is returned, then that could work. It is however more work than is needed. If you made secretword a list,you could just set(secretword)&set(lettersguessed) and check the result is equal to secretword. -- http://mail.python.org/mailman/listinfo/python-list