>>> a = [[1]* 3] * 2
>>> a
[[1, 1, 1], [1, 1, 1]]
>>> a[-1].append("whatever")
>>> a
[[1, 1, 1, 'whatever'], [1, 1, 1, 'whatever']]
>>>
>>> b = [[1]*3 for _ in range(2)]
>>> b
[[1, 1, 1], [1, 1, 1]]
>>> b.append("another thing")
>>> b
[[1, 1, 1], [1, 1, 1], 'another thing']