Make a list


#1

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

Traceback (most recent call last):
File “python”, line 4, in
NameError: name ‘O’ is not defined



board = []

for x in range(5):
    board.append([O] * 5)



#2

The O should be a string.


#4

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