python print element in array code example
Example 1: print value of array python
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'
Example 2: python print an array
a = [1,2,3,4,5]
print(a)