list=[[]]*2
list[0].append(3)
print list
C:Python27python.exe C:/Users/TLCB/PycharmProjects/untitled/core/a26.py
[[3], [3]]
list = [[] for i in range(2)]
print list
list[0].append(3)
print list
C:Python27python.exe C:/Users/TLCB/PycharmProjects/untitled/core/a26.py
[[], []]
[[3], []]