Not Again!


#1

I need help on this code, I dont find the mistake, I've been in this code for a long time and I can not solve

 if guess_row == ship_row and guess_col == ship_col:
     print "Congratulations! You sank my battleship!"
 elif guess_row not in range(5) or guess_col not in range(5):
     print "Oops, that's not even in the ocean."
 elif board[guess_row][guess_col] == "X":
     print "You guessed that one already"
 else:
     print "You missed my battleship!"
     board[guess_row][guess_col] = "X"

#2

in danger, will robinson you wrote an else statement for handling when the user doesn't guess the ship, where did this else statement go?

and a full stop (.) is missing after already


#3

Thank you very much, I was able to solve and pass, thank you very much, I am a long time, I returned in exercise 11 and did the next ones again, and it worked, thank you


#4