3 Make a list. Battleship


#1



Hi, can anyone please explain me the error in this code, i couldnt figured it out. Its says: It seems that the rows are not represented like lists.


tablero = []
for x in range(0,5):
    tablero.append("[o]"*5)


#2

Hi, look at this Part (quotes):
("[o]"*5)
and change it to this:
(["o"]*5)


#3

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