Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

1d array operations in python

arr = [ 1, 2 ,3, 4, 5]
print (arr)
print (arr[2])
print (arr[4])

[1, 2, 3, 4, 5]
3
5
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #array #operations #python
ADD COMMENT
Topic
Name
2+7 =