https://www.codecademy.com/courses/learn-python/lessons/battleship/exercises/danger-will-robinson
Set the list element at guess_row, guess_col to "X".
As the last line in your else statement, call print_board(board) again
so you can see the "X". Make sure to enter a col and row that is on the board!
I don’t know what it means by ‘set the list element at guess_row, guess_col to X’. I don’t think it wants me to modify what goes on the board, so I try pointing to an element X for ship_row and ship_col in the if statement, but it gives an indentation error. I indented the print statements for else, btw.
# Write your code below!
if guess_row == ship_row[X] and guess_col == ship_col[X]:
print "Congratulations! You sank my battleship!"
else:
print "You missed my battleship!"
print print_board(board)