python 的向量反转有一个很简单的办法# 创建向量impot numpy as npa = np.array([1,2,3,4,5,6])b=a[::-1]print(b)结果: [6, 5, 4, 3, 2, ...
確定! 回上一頁