标签: python python-2.7 arraylist
child= [[]] * 10 child[0].append(3)
我预计输出为
child [[3], [], [], [], [], [], [], [], [], []]
输出结果为
child [[3], [3], [3], [3], [3], [3], [3], [3], [3], [3]]