jeudi 2 novembre 2017

GeneratorExit error in python 3.6

    if g == 0 :
        print("You lost the game")
        break
    elif all(x in word_list for x in display) and g > 0:
        print("You won the game")
        break

i get GeneratorExit: error on this line elif all(x in word_list for x in display) and g > 0:

why do i get this error?

Aucun commentaire:

Enregistrer un commentaire