Battleship-You win!


#1

i know i have 5 rows and 5 columns.But when i type 5 for "Guess Row" and 5 for "Guess Col",
this is what happens:
a.the "print" statement is not showing.
b.the console gives me 1 , 4.
Can someone explain to me the reason for these.


#2

Can you post your code!?


#3

the print statement shouldn't show unless you hit the target and it has 5 rows and columns from 0-4 not 1-5


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.