5/13 what's wrong with my code?


#1

board = []
for i in range(5):
board.append([0]*5)

def print_board(board):
for row in board:
print row

print_board(board)

Oops, try again. It looks like you function didn't print out the correct response!
The result looks fine!
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]
[0, 0, 0, 0, 0]


#2

sorry I can't find the delete option. But it works now.


#3

@wbhsun this is happening to me too :confused: how did you fix it ?


#4


#5

Here guys


#6

thats clean man really good code


#7

Are those zeros or "O"s? It needs to be "O"s


#8

Just correct the indentation