Playing the battleship game


#1

Merry Christmas everyone!
I was practicing python while waiting for my connecting flight and finished the battleship session.

In the last lesson " To Your Battle Stations!" where I tried running the script, I found that I could only make one guess in the console instead of making four guesses (if the answer was wrong). Did I mistake anything?

Thank you!


#2

very likely, but difficult to say what the mistake is given you didn’t include your code

the most likely cause that you didn’t put your prompts (raw_input) in the loop


#3

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