使用列表创建基本矩阵 让我们从创建矩阵的最简单方法开始: # Method 1: Using list comprehension to create a 3x3 matrix of zerosmatrix = [[0 for _ in range(3)] for _ in ...