import numpy as np # 1.如何从数组np.arange(15)中提取5到10之间的所有数字? a = np.arange(5,11) print(a) [ 5 6 7 8 9 10]