add a break under the win condition to end the loop after a win.
Hint:
Your break should go inside your if statement,right after your "Congratulations!"message.
if guess_row == ship_row and guess_col == ship_col :
print "Congratulations! You sunk my battleship!"
break
break 和print 对齐