lst = [[0]*3]*N
lst[0][0] = 1 lst[0][1] = 2 lst[0][2] = 3 ## 결과 [[1,2,3], [1,2,3], [1,2,3]]
lst = [[0]*3 for _ in range(N)]