Bad Aim


I keep on getting this error message:
File "python", line 37
guess_col not in range(5):
SyntaxError: invalid syntax
but I can't seem to find the syntax error. I believe that everything else is right

if guess_row not in range(5) \
    guess_col not in range(5):
    print "Oops, that's not even in the ocean."
    print "You missed my battleship!"


Remember to include or

if ___ or ___:


I tried that as well and it is giving me a syntax error for "or"


Try putting the or before the continuation operator, or write everything on one line.


that worked! thank you!


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