I’m trying to code a hangman simulator, and there is this persistent little bug in my code. Can you check this please?
Here is the code:
if gameIsDone:
if playAgain():
missedLetters=’’
correctLetters’’
gameIsDone=False
secretword=getRandomWord(words)
else:
break
The error is: unindent does not match any outer indentation level
It’s giving me the problem at line 1. Could you guys help debug it?
Thanks.