📜  python 数组 - Python 代码示例

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

代码示例6
array = [2, 54, 5, 7, 8, 9]
#printing wole array
print(array)
#it will print whole array

#printing  any one array will be like this
print(array[0])
#it will print 2

print(array[2])
#it will print 5

print(array[1])
#it will print 54
#and so on...