This code does pass, but I had a quick question. Why are we not allowed to return randint(1,5) and we have to use randint(0, len(board)-1) instead? When I tried returning with limits (1,5), it wouldn't let me pass.
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) # Add your code below! def random_row(board): return randint(0,len(board)-1) def random_col(board): return randint(0,len(board)-1) random_row(board) random_col(board)