3. Make a List


#1



board = []

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

not exactly sure what i am supposed to be doing here


#2

board.append(board * 5)

you appending board to board, how is python to suppose to know which is which? Having the same variable name for different things is a bad idea


#3

board = []

for i in range(0,5):
    line = (['O'] * 5)
    board.append(line * 5)
print board

is that what you mean?


#4

better, but you have a very big board now: 5 x 25


#5

thankyou i just took out the * 5 and it worked

thanks alot


#6