3. Make a List / is it best way?


#1




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


#2

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


#3

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