Iterating a one-dimensional array is simple with the use of For loop. 1A = np.arange(12) 2for cell in A: 3 print(cell, end=' ').
確定! 回上一頁