Hi so I'm trying to error check my inputs and using the suggested method of capturing the user input:
guess_row = int(raw_input("Guess Row:"))
guess_col = int(raw_input("Guess Col:"))
if I add anything that isn't an integer then I get the message:
Traceback (most recent call last):
File "python", line 23, in
ValueError: invalid literal for int() with base 10: ''
Any ideas how to capture and store the input but also test that the entry is an integer?