#创建二维数据并赋值 lists=[] m=3 n=4 for i in range(m): lists.append([i]) for j in range(n): lists[i].append(j)