Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python array

array = [2, 54, 5, 7, 8, 9]
#printing wole array
print(array)
#it will print whole array

#printing  any one array will be like this
print(array[0])
#it will print 2

print(array[2])
#it will print 5

print(array[1])
#it will print 54
#and so on...
Source by docs.python.org #
 
PREVIOUS NEXT
Tagged: #python #array
ADD COMMENT
Topic
Name
3+7 =