searching a list of lists as a two-dimensional array?

agent-s shanekwon at gmail.com
Sun Feb 11 19:27:22 EST 2007


Basically I'm programming a board game and I have to use a list of
lists to represent the board (a list of 8 lists with 8 elements each).
I have to search the adjacent cells for existing pieces and I was
wondering how I would go about doing this efficiently. Thanks




More information about the Python-list mailing list