3. Make a List / is it best way?


I passed through, but something is strange.
Is it best way?

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


I think the programme is asking us to do it like this^
See how I've used "O"*5 instead of your longer method.


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