Filling edges of a 2D list in python
<p>I have been using the code</p>

<pre><code>BOARD = [[0 for i in range(GRIDWIDTH)] for j in range(GRIDWIDTH)]
</code></pre>

<p>to create a 2 dimensional 'grid' for part of my pygame project.</p>

<p>I would like to know how I can fill in the edges of the grid with a different number, so I have all zeros in the centre of the grid, surrounded by ones on the edges.</p>

<p>Thanks!</p>
