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!


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


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


I would've never of catched that