BtW, creating a 2d grid container is worth making a custom function for it: ![]()
def setup():
global grid
grid = createGrid(5) # 5x5 = 0
print grid
exit()
def createGrid(rows, cols = -1, fillValue = 0):
if cols < 0: cols = rows
return tuple([fillValue] * cols for _ in range(rows))