📜  列表理解 - 无论代码示例

📅  最后修改于: 2022-03-11 14:56:36.553000             🧑  作者: Mango

代码示例6
list = [[2,4,6,8]]
matrix = [[row[i] for row in list] for i in range(4)]
print(matrix)