Skip to content Skip to sidebar Skip to footer

Hangman Game Python Error

I m trying to create the hangman game in python, but got following error when I tried to run the file. guess = input('\nEnter your guess: ') File string', line 1, in module Please

Solution 1:

  guess = raw_input("\nEnter your guess: ")

It should be raw_input, not input.


Post a Comment for "Hangman Game Python Error"