[Tutor] simple question about lists (original) (raw)
orbitz orbitz at ezabel.com
Tue Jul 20 18:53:49 CEST 2004
- Previous message: [Tutor] simple question about lists
- Next message: [Tutor] simple question about lists
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
A list can contain any other type, including lists.
Andy wrote:
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
Tutor maillist - Tutor at python.org http://mail.python.org/mailman/listinfo/tutor
- Previous message: [Tutor] simple question about lists
- Next message: [Tutor] simple question about lists
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]