[Tutor] I want some help with arrays...

Alan Gilfoy agilfoy at frontiernet.net
Fri May 18 03:39:17 CEST 2007

Why Python starts counting at [0] instead of at [1] is a whole other issue. :D

array = [["0.0", "0.1"], ["1.0", "1.1"]]

array[0[1]] seems right, although it isn't, because the index (0) and  
the subindex(1) are nested in 'array[0[1]]' much like the list and  
sublist that I'm "calling" from with the indexes.

array[0][1] works instead? Gotcha.

More information about the Tutor mailing list