Battleship [8....And Seek! ] Syntax Error


#1



https://www.codecademy.com/courses/python-beginner-en-4XuFm/0/8?curriculum_id=4f89dab3d788890003000096#

I am not sure what is wrong with my code when creating the variables for guess_row and guess_col. The interpreter says there is a syntax error but I am not sure what syntactical error I am making.


from random import randint

board = []

for x in range(0,5):
    # create a game board with 5 rows of Os
    board.append(["O"] * 5)

def print_board(board):
    # removed "" from the game board 
    for row in board:
        print " ".join(row)

def random_row(board):
    # choosing a random row
    return randint(0, len(board) - 1)

def random_col(board):
    # choosing a random column
    return randint(0, len(board[0]) - 1)

#storing random row and random column chosen into variables
ship_row = random_row(board)
ship_col = random_col(board

# ask the player to guess a row and a column
guess_row = int(raw_input("Guess Row: "))
guess_col = int(raw_input("Guess Col: "))


#2