A simple question

Ben Cartwright bencvt at gmail.com
Sat Mar 4 23:35:45 EST 2006


Tuvas wrote:
> Why is the output list [[0, 1], [0, 1]] and not [[0,
> 1], [0, 0]]? And how can I make it work right?

http://www.python.org/doc/faq/programming.html#how-do-i-create-a-multidimensional-list

--Ben




More information about the Python-list mailing list