[EMAIL PROTECTED] wrote:
> I'm having a problem assigning numbers to a 2-D list.
> 
> for the 2d list z for example, when I type in
> 
> z[0][0]=67
> 
> every zeroth element of every sublist will be set to 67, instead of just 
> element
> [0,0] being set to 67.

http://effbot.org/pyfaq/how-do-i-create-a-multidimensional-list.htm

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to