3. Make a List


#1



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


Oops, try again.
It looks like you do not have 5 rows in your list.

for o in range(0,5):
    board = []
    board.append(["O"] * 5);

I know it's not the right code, i just can't think clearly or straightforward how to write it :frowning:


#2

have also tried this

for o in range(0,5):
    board = []
    board.append(['O', 'O', 'O', 'O', 'O']);

#3

That line should be before the loop.


#5

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