要列印出整個二維陣列,可以使用python的 for 迴圈,如下所示。 使用行尾來列印出不同行中的值。 from array import * T = [[11, 12, 5, 2], [15, 6,10], [10, 8, 12, ...
確定! 回上一頁