I am just a little confused on why this is still giving me an error even though I have gotten the code right and passed the lesson. Can someone please explain this to me?
link to exercise
from random import randint board =  for x in range(0, 5): board.append(["O"] * 5) def print_board(board): for row in board: print " ".join(row) print_board(board) # Add your code below! def random_row(board): randrow = randint(0, len(board) - 1) def random_col(board): randcol = randint(0, len(board) - 1) random_row(board) random_col(board) print randrow print randcol