📜  数组python代码示例的打印值

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

代码示例1
visit = ['noah-', 'chatelain', '.fr']

print visit[0] # return string : 'noah-'
print visit[1] # return string : 'chatelain'
print visit[2] # return string : '.fr'

print 'go visit : ' + visit[0] + visit[1] + visit[2]
# return 'go visit : noah-chatelain.fr'