I wanted to efficiently set a bunch of variables to an empty list. However, using this method, operations on one variable seem to apply to all:
>>> r1,r2,r3,r4,r5,r6,r7,r8=[[]]*8
>>> r1
[]
>>> r1+=[2]
>>> r1,r2
([2], [2])
Why is this? Also, what is the most efficient method that leaves each variable independent?