Opérations de tableau 1D en Python
arr = [ 1, 2 ,3, 4, 5]
print (arr)
print (arr[2])
print (arr[4])
[1, 2, 3, 4, 5]
3
5
Kent Casey Soliva
arr = [ 1, 2 ,3, 4, 5]
print (arr)
print (arr[2])
print (arr[4])
[1, 2, 3, 4, 5]
3
5