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)

def random_row(board):
return randint(0, len((board) - 1)
def random_col(board):
return randint(0, len((board) - 1)

what am i doing wrong??except indentation


please post your code with format:

otherwise indent doesn't show on the forum, if indent doesn't show, i can't fix an indent issue


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.