📜  python 初始化数组 - Python 代码示例

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

代码示例2
array1 = [] #an empty array
array2 = list() #another empty arrat
array3 = ["1", "2", "3"] #array initialization with value
arrat4 = [x for x in range(1,11) #list comprehension