Make a List


#1


https://www.codecademy.com/courses/python-beginner-en-4XuFm/0/3?curriculum_id=4f89dab3d788890003000096#

ops, try again. It looks like the rows are not represented as lists.

what did he want ?

Replace this line with your code. 

board =[]
for i in range(5):
    board.append("O")
    print board


#2

They want 5 nested lists with 5 O's each. So, it should be board.append(["O"] * 5) rather than board.append("O"). This is shown in the example they gave (the ["O"] * 5).


#4

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