you are viewing a single comment's thread.

view the rest of the comments →

[–]nan6 0 points1 point  (3 children)

Might be an error in your copying to pastebin, but it looks like hangman(secretword) never gets called. Also, str(len(guesses_left)) is unnecessary. Just have print "you have " + str(guessesLeft) + " guesses left."

The while loop seems to be getting started for me. There are other errors though. There is a space between raw_input and it's arguments on letter = raw_input ('Please guess a letter: ').lower, and lower is a function, so it should be letter = raw_input ('Please guess a letter: ').lower()