Different ways of solving


#1
```python

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):
for i in board:
return randint(0, len(i))

Why does this not work?
I am trying to measure the length of each row.

<do not remove the three backticks above>

#2

your code works in general, but they are expecting you use exact commands as requested in instructions