🌈 搜索
📅  最后修改于: 2022-03-11 14:45:47.426000             🧑  作者: Mango
import numpy as np ary=np.array([1, 2, 3, 4]) print(ary[0]) # 1 print(ary[2]) # 3 print(ary[::2]) # array([1, 3])