[Tutor] simple question about lists

Andy agunnerson at gmail.com
Tue Jul 20 18:22:53 CEST 2004


Hello all, I'm getting ready to teach myself python.  I'm going to
convert an old tic tac toe game I wrote in C to get my feet wet.  One
question though, in C I could set up a multi dimensional array by
doing

char board[3][3]

I can't do multi dimensional lists in python can I?  Am I right in
thinking that I would need to either use a one dimensional list or get
something like numeric to do this?  Thanks in advance.

-Andy


More information about the Tutor mailing list