A Python array is a little bit different to arrays in other programming languages in that it uses something called 'list' instead of array. Python 'lists' offer more flexibility than arrays as they can contain different types of data and their length can be varied.
There are advantages and disadvantages of using both types. It is often convenient to use a list where you do not need to know the data type or length. However, arrays are a more direct way of accessing data in memory so they are much faster and more efficient.
game= [[0 for x in range (9)] for y in range(9)]
We can now use statements like the following to add data to positions in the array:
game = '3' game = '3' game = '3' game = '2' game = '2'
Our array would now look like this: