myList = [([0] * 3) for i in range(4)] myList[0][1] = 1 myList[1].append(2) print myList /usr/bin/python /Users/li/PycharmProjects/Nowcoder_Practice/tmp.py[[0, 1, 0], [0, 0, 0, 2], [0, 0, 0], [0, 0, 0]] Process finished with exit code 0 myList = [[0]…