make a grid from a list in python code example Example: how to make a grid in python grids = [[0] * gridSize for _ in range(gridSize)]