Ha, that's funny. Just ran into this issue a few days ago. Spent an hour or two trying to figure what was going on, thought I was going crazy. Finally caved and asked an experienced python programmer, and they immediately pointed out that lists are mutable. Goes to show the value of working with experienced programmers.