10/19


#1

I don't know what I'm doing wrong?!
Here is my code:
if guess_col == ship_row and guess_col == ship_col:
print "Congratulations! You sank my battleship!"
It wont show me any result.
Please Help!
Thanks in Advance!


#2

Can you please post your entire code? From this little snippet it is hard to tell what is wrong with your code.


#3

you used guess_col on both of these.
It should be guess_row == ship_row and guess_col == ship_col.


#4

THANKS!!!
I would've never of catched that