Hide... help!


#1
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 (0, len(board) -1 )

random_row(board)
random_col(board)

I"m getting the error "Oops, try again. It looks like your column bounds are not correct." Any ideas? Thanks!


#2

Check this part

Aren't you missing something?


#3

Thanks! It's always something like that huh? :wink:


#4

Mostly yes :slightly_smiling:
Glad I could help.