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