Operasi array 1D di 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