3.5] print (type(a)) #輸出為:<class 'numpy.ndarray'> # step 2:修改陣列中的內容 a[0] = 5 #將array a中index為0的元素重新指定數值為5 a[-1] = 100 #將array b中 ...
確定! 回上一頁