2-dimensional data structures

anthonyberet nospam at me.invalid
Thu Jan 26 22:11:21 CET 2006


Hello again - rather a newbie here...

I want to work on a sudoku brute-forcer, just for fun.

I am considering different strategies, but first I need to decide on the 
data-structure to use for the progress/solution grid.

This being a square, I would have used a 9x9 2-dimensional array in my 
teenage years back in the 80's, using BASIC.

What is the equivalent way to store data in python? - It isn't obvious 
to me how to do it with lists.

'scuse me for being thick - but give me a little pointer and I will do 
the rest.



More information about the Python-list mailing list