Battleship! - Bad Aim [SOLVED]


I think I figured it out... well at least it passes...

Write your code below!

if guess_row == ship_row and guess_col == ship_col:
"Congratulations! You sank my battleship"
if guess_row not in range(int(len(board)-1)) or guess_col not in range(int(len(board)-1)):
print "Oops, that's not even in the ocean."
print "You missed my battleship!"
board[(guess_row)][(guess_col)] = 'X'


Don't beat your self up over this one.......... it stumped me.

Make sure your print " " have the EXACT right text before you change your code. Sometimes the simplest answers are the best: blush: