源代码
import numpy arr = numpy.array([1, 2, 3, 4, 5]) print(arr)
运行结果