📜  如何制作列表python代码示例

📅  最后修改于: 2022-03-11 14:46:42.576000             🧑  作者: Mango

代码示例6
list = ['list element', 'list element']
# or t obe more effecient:
import numpy #if you do not have numpy, do "pip install numpy"
numpyarray = numpy.array(['array element', 'array element'])
#a numpy array is faster than a standard list