[Tutor] List of lists help

Alan Gauld alan.gauld at btinternet.com
Thu Nov 20 19:35:45 CET 2008


"Mark Tolonen" <metolone+gmane at gmail.com> wrote 

>>>>> L = [[0,0,0] *3]
> 
> I think you meant:
> 
>>>> [[0,0,0]]*3
> [[0, 0, 0], [0, 0, 0], [0, 0, 0]]


Yes indeed, to much haste and not enough testing!

Alan G



More information about the Tutor mailing list