On Fri, Aug 28, 2009 at 10:28 AM, kevin parks<k...@mac.com> wrote: > Interestingly changing: > out_list.append(ll) > > to > > out_list.append(list(ll)) > > > seems to work. The part of my brain that understood why that is must have > sleeping.
Because it makes a new list instead of appending many references to the same list. Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor