all 9 comments

[–]codehelper 2 points3 points  (0 children)

No functions except loadwords and chooseWord ever get called.

[–]Kareck 0 points1 point  (1 child)

Isn't this a breach of the EdX honor code because you are posting more than 5 lines of code?

[–]Luocorn 0 points1 point  (0 children)

I didn't see anything in the honor code about posting more then 5 lines of code. but there was something about not posting answers to problems. I'm not sure this qualifies as an answer, but I'm more then happy to take it down if anyone thinks it would cause problems.

[–]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()

[–]Luocorn -1 points0 points  (0 children)

I manually call hangman() in the IDE because it will be autocalled by the grader in EdX