「array陣列」是Python的另一個套件NumPy(Numerical Python)中所內含資料型態, ... d = a[5:]*0.5 #將array中index為5以後的元素取出來,然後每個元素乘0.5 print ...
確定! 回上一頁