Great! Now let’s handle the second type of incorrect guess: the player guesses a location that was already guessed. How will we know that a location was previously guessed?
The example above will print an
'X' if already guessed or an
elif to see if the guessed location already has an ‘X’ in it.
If it has,
print "You guessed that one already."