Can somebody help me with this program- grid [5*5] but its just getting 1D


board= []
for colmn in range(5):
    colmn = []
    board= board + colmn
    for row in range(5):
        x= ["0"]*5
        board=board + x
        print board


If you are referring to this exercise:

Can you try to explain what you are trying to do with board = board + colmn and board = board + x?


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